Table of Contents

Class RepairStep

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

One ordered step of a repair.

public sealed class RepairStep
Inheritance
RepairStep
Inherited Members

Constructors

RepairStep()

public RepairStep()

Properties

Action

What this step does.

public required RepairAction Action { get; init; }

Property Value

RepairAction

Addresses

Check codes this step answers.

public required IReadOnlyList<string> Addresses { get; init; }

Property Value

IReadOnlyList<string>

Class

Whether it regenerates or excises.

public required RepairClass Class { get; init; }

Property Value

RepairClass

Description

Plain-English description of the action, for the operator reviewing the plan.

public required string Description { get; init; }

Property Value

string

Locus

Where it acts.

public Locus Locus { get; init; }

Property Value

Locus

Loss

What executing it would lose. None for every Regenerate step.

public LossEstimate Loss { get; init; }

Property Value

LossEstimate

Order

Position in the plan. Steps execute in this order and the order is a correctness constraint, not a preference.

public required int Order { get; init; }

Property Value

int

Rationale

Why this step is safe, or what it costs. The sentence an operator needs before consenting.

public required string Rationale { get; init; }

Property Value

string

Methods

ToString()

public override string ToString()

Returns

string