Table of Contents

Class BackupPointVerification

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

One point, verified: restorable iff its chain resolves and every pack of it verified without damage.

public sealed record BackupPointVerification : IEquatable<BackupPointVerification>
Inheritance
BackupPointVerification
Implements
Inherited Members

Constructors

BackupPointVerification(uint, bool, IReadOnlyList<uint>)

One point, verified: restorable iff its chain resolves and every pack of it verified without damage.

public BackupPointVerification(uint BackupId, bool Restorable, IReadOnlyList<uint> BrokenBy)

Parameters

BackupId uint

The point.

Restorable bool

Whether a restore of it can succeed.

BrokenBy IReadOnlyList<uint>

The points whose packs break its chain.

Properties

BackupId

The point.

public uint BackupId { get; init; }

Property Value

uint

BrokenBy

The points whose packs break its chain.

public IReadOnlyList<uint> BrokenBy { get; init; }

Property Value

IReadOnlyList<uint>

Restorable

Whether a restore of it can succeed.

public bool Restorable { get; init; }

Property Value

bool

Methods

Deconstruct(out uint, out bool, out IReadOnlyList<uint>)

public void Deconstruct(out uint BackupId, out bool Restorable, out IReadOnlyList<uint> BrokenBy)

Parameters

BackupId uint
Restorable bool
BrokenBy IReadOnlyList<uint>

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(BackupPointVerification?)

public bool Equals(BackupPointVerification? other)

Parameters

other BackupPointVerification

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BackupPointVerification?, BackupPointVerification?)

public static bool operator ==(BackupPointVerification? left, BackupPointVerification? right)

Parameters

left BackupPointVerification
right BackupPointVerification

Returns

bool

operator !=(BackupPointVerification?, BackupPointVerification?)

public static bool operator !=(BackupPointVerification? left, BackupPointVerification? right)

Parameters

left BackupPointVerification
right BackupPointVerification

Returns

bool