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
KindTuningArchiveChangeKindHow the resource differs
OldTuningArchiveEntryThe version of the resource in the older snapshot, if it was there
NewTuningArchiveEntryThe 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
Kind
How the resource differs
public TuningArchiveChangeKind Kind { get; init; }
Property Value
New
The version of the resource in the newer snapshot, if it is there
public TuningArchiveEntry? New { get; init; }
Property Value
Old
The version of the resource in the older snapshot, if it was there
public TuningArchiveEntry? Old { get; init; }