Class PackageCandidate¶
Namespace: Apogee.Content.Packages
Assembly: Apogee.Content.dll
A package found, before it is decided whether it loads.
public sealed record PackageCandidate : IEquatable<PackageCandidate>
Inheritance¶
Implements¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors¶
PackageCandidate(PackageManifest, PackageKind, string, Func<IFileSource>)¶
A package found, before it is decided whether it loads.
public PackageCandidate(PackageManifest Manifest, PackageKind Kind, string Location, Func<IFileSource> OpenSource)
Parameters¶
Manifest PackageManifest
Kind PackageKind
Location string
Where it was found, for messages: a folder's path, a zip's.
OpenSource Func<IFileSource>
Makes the source that holds its files (only called for a package that loads).
Properties¶
Kind¶
public PackageKind Kind { get; init; }
Property Value¶
Location¶
Where it was found, for messages: a folder's path, a zip's.
public string Location { get; init; }
Property Value¶
Manifest¶
public PackageManifest Manifest { get; init; }
Property Value¶
OpenSource¶
Makes the source that holds its files (only called for a package that loads).
public Func<IFileSource> OpenSource { get; init; }