Table of Contents

Class BackupChainSummary

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

A chain's head in a store.

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

Constructors

BackupChainSummary(Guid, uint, uint, int)

A chain's head in a store.

public BackupChainSummary(Guid ChainId, uint BaseId, uint HeadBackupId, int Depth)

Parameters

ChainId Guid

The chain.

BaseId uint

Its base point (0 when the base pack is gone).

HeadBackupId uint

Its newest point.

Depth int

Its points in the store.

Properties

BaseId

Its base point (0 when the base pack is gone).

public uint BaseId { get; init; }

Property Value

uint

ChainId

The chain.

public Guid ChainId { get; init; }

Property Value

Guid

Depth

Its points in the store.

public int Depth { get; init; }

Property Value

int

HeadBackupId

Its newest point.

public uint HeadBackupId { get; init; }

Property Value

uint

Methods

Deconstruct(out Guid, out uint, out uint, out int)

public void Deconstruct(out Guid ChainId, out uint BaseId, out uint HeadBackupId, out int Depth)

Parameters

ChainId Guid
BaseId uint
HeadBackupId uint
Depth int

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(BackupChainSummary?)

public bool Equals(BackupChainSummary? other)

Parameters

other BackupChainSummary

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BackupChainSummary?, BackupChainSummary?)

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

Parameters

left BackupChainSummary
right BackupChainSummary

Returns

bool

operator !=(BackupChainSummary?, BackupChainSummary?)

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

Parameters

left BackupChainSummary
right BackupChainSummary

Returns

bool