Class ManifestFile
- Namespace
- ZeroInstall.Store.Manifests
- Assembly
- ZeroInstall.Store.dll
Base class for file entries in a Manifest.
public abstract record ManifestFile : ManifestElement, IEquatable<ManifestElement>, IEquatable<ManifestFile>
- Inheritance
-
objectManifestFile
- Implements
- Derived
- Inherited Members
Constructors
ManifestFile(string, UnixTime, long)
Base class for file entries in a Manifest.
protected ManifestFile(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.
ManifestFile(ManifestFile)
protected ManifestFile(ManifestFile original)
Parameters
originalManifestFile
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
ModifiedTime
The time this file was last modified.
public UnixTime ModifiedTime { get; init; }
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(ManifestElement?)
public override sealed bool Equals(ManifestElement? other)
Parameters
otherManifestElement
Returns
Equals(ManifestFile?)
public virtual bool Equals(ManifestFile? other)
Parameters
otherManifestFile
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ManifestFile?, ManifestFile?)
public static bool operator ==(ManifestFile? left, ManifestFile? right)
Parameters
leftManifestFilerightManifestFile
Returns
operator !=(ManifestFile?, ManifestFile?)
public static bool operator !=(ManifestFile? left, ManifestFile? right)
Parameters
leftManifestFilerightManifestFile