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
-
objectManifestExecutableFile
- Implements
- Inherited Members
Constructors
ManifestExecutableFile(string, UnixTime, long)
An executable file entry in a Manifest.
public ManifestExecutableFile(string Digest, UnixTime ModifiedTime, long Size)
Parameters
DigeststringThe digest of the content of the file calculated using the selected digest algorithm.
ModifiedTimeUnixTimeThe time this file was last modified.
SizelongThe size of the file in bytes.
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Methods
Deconstruct(out string, out UnixTime, out long)
public void Deconstruct(out string Digest, out UnixTime ModifiedTime, out long Size)
Parameters
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(ManifestExecutableFile?)
public bool Equals(ManifestExecutableFile? other)
Parameters
otherManifestExecutableFile
Returns
Equals(ManifestFile?)
public override sealed bool Equals(ManifestFile? other)
Parameters
otherManifestFile
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToLine(string)
Formats the element in the Manifest line format.
public override string ToLine(string name)
Parameters
namestringThe name of the element.
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ManifestExecutableFile?, ManifestExecutableFile?)
public static bool operator ==(ManifestExecutableFile? left, ManifestExecutableFile? right)
Parameters
leftManifestExecutableFilerightManifestExecutableFile
Returns
operator !=(ManifestExecutableFile?, ManifestExecutableFile?)
public static bool operator !=(ManifestExecutableFile? left, ManifestExecutableFile? right)
Parameters
leftManifestExecutableFilerightManifestExecutableFile