Class BackupStoreStatus
A store's state in one line.
public sealed record BackupStoreStatus : IEquatable<BackupStoreStatus>
- Inheritance
-
BackupStoreStatus
- Implements
- Inherited Members
Constructors
BackupStoreStatus(BackupHealth, string, int, BackupPointSummary, BackupPointSummary)
A store's state in one line.
public BackupStoreStatus(BackupHealth Health, string Reason, int Points, BackupPointSummary Latest, BackupPointSummary LatestRestorable)
Parameters
HealthBackupHealthThe verdict.
ReasonstringWhy, in one sentence.
PointsintPoints in the store.
LatestBackupPointSummaryThe newest point, or
null.LatestRestorableBackupPointSummaryThe newest point whose chain resolves (from the packs' headers and footers), or
null.
Properties
Health
The verdict.
public BackupHealth Health { get; init; }
Property Value
Latest
The newest point, or null.
public BackupPointSummary Latest { get; init; }
Property Value
LatestRestorable
The newest point whose chain resolves (from the packs' headers and footers), or null.
public BackupPointSummary LatestRestorable { get; init; }
Property Value
Points
Points in the store.
public int Points { get; init; }
Property Value
Reason
Why, in one sentence.
public string Reason { get; init; }
Property Value
Methods
Deconstruct(out BackupHealth, out string, out int, out BackupPointSummary, out BackupPointSummary)
public void Deconstruct(out BackupHealth Health, out string Reason, out int Points, out BackupPointSummary Latest, out BackupPointSummary LatestRestorable)
Parameters
HealthBackupHealthReasonstringPointsintLatestBackupPointSummaryLatestRestorableBackupPointSummary
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BackupStoreStatus?)
public bool Equals(BackupStoreStatus? other)
Parameters
otherBackupStoreStatus
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BackupStoreStatus?, BackupStoreStatus?)
public static bool operator ==(BackupStoreStatus? left, BackupStoreStatus? right)
Parameters
leftBackupStoreStatusrightBackupStoreStatus
Returns
operator !=(BackupStoreStatus?, BackupStoreStatus?)
public static bool operator !=(BackupStoreStatus? left, BackupStoreStatus? right)
Parameters
leftBackupStoreStatusrightBackupStoreStatus