Table of Contents

Class TuningArchiveChange

Namespace
LlamaLogic.TuningArchive
Assembly
LlamaLogic.TuningArchive.dll

Represents how a resource differs, if at all, between two snapshots

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

Constructors

TuningArchiveChange(TuningArchiveChangeKind, TuningArchiveEntry?, TuningArchiveEntry?)

Represents how a resource differs, if at all, between two snapshots

public TuningArchiveChange(TuningArchiveChangeKind Kind, TuningArchiveEntry? Old, TuningArchiveEntry? New)

Parameters

Kind TuningArchiveChangeKind

How the resource differs

Old TuningArchiveEntry

The version of the resource in the older snapshot, if it was there

New TuningArchiveEntry

The version of the resource in the newer snapshot, if it is there

Properties

Entry

Gets the newer version of the resource if there is one, otherwise the older one

public TuningArchiveEntry Entry { get; }

Property Value

TuningArchiveEntry

Kind

How the resource differs

public TuningArchiveChangeKind Kind { get; init; }

Property Value

TuningArchiveChangeKind

New

The version of the resource in the newer snapshot, if it is there

public TuningArchiveEntry? New { get; init; }

Property Value

TuningArchiveEntry

Old

The version of the resource in the older snapshot, if it was there

public TuningArchiveEntry? Old { get; init; }

Property Value

TuningArchiveEntry