Table of Contents

Class TuningDraftResult

Namespace
LlamaLogic.TuningArchive
Assembly
LlamaLogic.TuningArchive.dll

Represents a draft that makes changes to tuning without overriding it: a script or a snippet

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

Constructors

TuningDraftResult(string, IReadOnlyList<TuningDraftDiagnostic>, int)

Represents a draft that makes changes to tuning without overriding it: a script or a snippet

public TuningDraftResult(string Source, IReadOnlyList<TuningDraftDiagnostic> Diagnostics, int Changes)

Parameters

Source string

The source of the draft (Python, or snippet tuning XML)

Diagnostics IReadOnlyList<TuningDraftDiagnostic>

What the draft does about each change, and which changes it cannot make

Changes int

The number of changes the draft makes

Properties

Changes

The number of changes the draft makes

public int Changes { get; init; }

Property Value

int

Diagnostics

What the draft does about each change, and which changes it cannot make

public IReadOnlyList<TuningDraftDiagnostic> Diagnostics { get; init; }

Property Value

IReadOnlyList<TuningDraftDiagnostic>

Source

The source of the draft (Python, or snippet tuning XML)

public string Source { get; init; }

Property Value

string