Class BackupTimeResolution
An instant resolved to an LSN (ResolveTime(string, DateTime, Guid?)): the highest LSN sampled durable at or before it.
public sealed record BackupTimeResolution : IEquatable<BackupTimeResolution>
- Inheritance
-
BackupTimeResolution
- Implements
- Inherited Members
Constructors
BackupTimeResolution(long, DateTime, Guid)
An instant resolved to an LSN (ResolveTime(string, DateTime, Guid?)): the highest LSN sampled durable at or before it.
public BackupTimeResolution(long Lsn, DateTime SampleUtc, Guid TimelineId)
Parameters
LsnlongThat LSN.
SampleUtcDateTimeThe sample's time.
TimelineIdGuidThe timeline holding it (the asked timeline, or an ancestor).
Properties
Lsn
That LSN.
public long Lsn { get; init; }
Property Value
SampleUtc
The sample's time.
public DateTime SampleUtc { get; init; }
Property Value
TimelineId
The timeline holding it (the asked timeline, or an ancestor).
public Guid TimelineId { get; init; }
Property Value
Methods
Deconstruct(out long, out DateTime, out Guid)
public void Deconstruct(out long Lsn, out DateTime SampleUtc, out Guid TimelineId)
Parameters
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(BackupTimeResolution?)
public bool Equals(BackupTimeResolution? other)
Parameters
otherBackupTimeResolution
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(BackupTimeResolution?, BackupTimeResolution?)
public static bool operator ==(BackupTimeResolution? left, BackupTimeResolution? right)
Parameters
leftBackupTimeResolutionrightBackupTimeResolution
Returns
operator !=(BackupTimeResolution?, BackupTimeResolution?)
public static bool operator !=(BackupTimeResolution? left, BackupTimeResolution? right)
Parameters
leftBackupTimeResolutionrightBackupTimeResolution