Table of Contents

Class ManifestExecutableFile

Namespace
ZeroInstall.Store.Manifests
Assembly
ZeroInstall.Store.dll

An executable file entry in a Manifest.

public sealed record ManifestExecutableFile : ManifestFile, IEquatable<ManifestElement>, IEquatable<ManifestFile>, IEquatable<ManifestExecutableFile>
Inheritance
object
ManifestExecutableFile
Implements
Inherited Members

Constructors

ManifestExecutableFile(string, UnixTime, long)

An executable file entry in a Manifest.

public ManifestExecutableFile(string Digest, UnixTime ModifiedTime, long Size)

Parameters

Digest string

The digest of the content of the file calculated using the selected digest algorithm.

ModifiedTime UnixTime

The time this file was last modified.

Size long

The size of the file in bytes.

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Deconstruct(out string, out UnixTime, out long)

public void Deconstruct(out string Digest, out UnixTime ModifiedTime, out long Size)

Parameters

Digest string
ModifiedTime UnixTime
Size long

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ManifestExecutableFile?)

public bool Equals(ManifestExecutableFile? other)

Parameters

other ManifestExecutableFile

Returns

bool

Equals(ManifestFile?)

public override sealed bool Equals(ManifestFile? other)

Parameters

other ManifestFile

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToLine(string)

Formats the element in the Manifest line format.

public override string ToLine(string name)

Parameters

name string

The name of the element.

Returns

string

ToString()

public override string ToString()

Returns

string

Operators

operator ==(ManifestExecutableFile?, ManifestExecutableFile?)

public static bool operator ==(ManifestExecutableFile? left, ManifestExecutableFile? right)

Parameters

left ManifestExecutableFile
right ManifestExecutableFile

Returns

bool

operator !=(ManifestExecutableFile?, ManifestExecutableFile?)

public static bool operator !=(ManifestExecutableFile? left, ManifestExecutableFile? right)

Parameters

left ManifestExecutableFile
right ManifestExecutableFile

Returns

bool