Class BackupStoreListing
What a store holds.
public sealed record BackupStoreListing : IEquatable<BackupStoreListing>
- Inheritance
-
BackupStoreListing
- Implements
- Inherited Members
Constructors
BackupStoreListing(Guid, Guid, IReadOnlyList<BackupPointSummary>, IReadOnlyList<BackupChainSummary>, IReadOnlyList<KeyValuePair<string, string>>, IReadOnlyList<string>, IReadOnlyList<uint>)
What a store holds.
public BackupStoreListing(Guid StoreId, Guid DatabaseId, IReadOnlyList<BackupPointSummary> Points, IReadOnlyList<BackupChainSummary> Chains, IReadOnlyList<KeyValuePair<string, string>> UnreadablePacks, IReadOnlyList<string> TemporaryFiles, IReadOnlyList<uint> RestorablePoints)
Parameters
StoreIdGuidThe store's identity.
DatabaseIdGuidThe database it belongs to.
PointsIReadOnlyList<BackupPointSummary>Every readable point, ascending id.
ChainsIReadOnlyList<BackupChainSummary>Every chain's head.
UnreadablePacksIReadOnlyList<KeyValuePair<string, string>>Pack files whose header or footer cannot be read, with why.
TemporaryFilesIReadOnlyList<string>In-progress or abandoned temps.
RestorablePointsIReadOnlyList<uint>The restorable points by a quick verify, or
nullwhen not asked for.
Properties
Chains
Every chain's head.
public IReadOnlyList<BackupChainSummary> Chains { get; init; }
Property Value
DatabaseId
The database it belongs to.
public Guid DatabaseId { get; init; }
Property Value
Points
Every readable point, ascending id.
public IReadOnlyList<BackupPointSummary> Points { get; init; }
Property Value
RestorablePoints
The restorable points by a quick verify, or null when not asked for.
public IReadOnlyList<uint> RestorablePoints { get; init; }
Property Value
StoreId
The store's identity.
public Guid StoreId { get; init; }
Property Value
TemporaryFiles
In-progress or abandoned temps.
public IReadOnlyList<string> TemporaryFiles { get; init; }
Property Value
UnreadablePacks
Pack files whose header or footer cannot be read, with why.
public IReadOnlyList<KeyValuePair<string, string>> UnreadablePacks { get; init; }
Property Value
Methods
Deconstruct(out Guid, out Guid, out IReadOnlyList<BackupPointSummary>, out IReadOnlyList<BackupChainSummary>, out IReadOnlyList<KeyValuePair<string, string>>, out IReadOnlyList<string>, out IReadOnlyList<uint>)
public void Deconstruct(out Guid StoreId, out Guid DatabaseId, out IReadOnlyList<BackupPointSummary> Points, out IReadOnlyList<BackupChainSummary> Chains, out IReadOnlyList<KeyValuePair<string, string>> UnreadablePacks, out IReadOnlyList<string> TemporaryFiles, out IReadOnlyList<uint> RestorablePoints)
Parameters
StoreIdGuidDatabaseIdGuidPointsIReadOnlyList<BackupPointSummary>ChainsIReadOnlyList<BackupChainSummary>UnreadablePacksIReadOnlyList<KeyValuePair<string, string>>TemporaryFilesIReadOnlyList<string>RestorablePointsIReadOnlyList<uint>
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BackupStoreListing?)
public bool Equals(BackupStoreListing? other)
Parameters
otherBackupStoreListing
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BackupStoreListing?, BackupStoreListing?)
public static bool operator ==(BackupStoreListing? left, BackupStoreListing? right)
Parameters
leftBackupStoreListingrightBackupStoreListing
Returns
operator !=(BackupStoreListing?, BackupStoreListing?)
public static bool operator !=(BackupStoreListing? left, BackupStoreListing? right)
Parameters
leftBackupStoreListingrightBackupStoreListing