Struct RepairStepResult
The receipt for one applied step.
public readonly struct RepairStepResult : IEquatable<RepairStepResult>
- Implements
- Inherited Members
Constructors
RepairStepResult(RepairStep, StepOutcome, string, LossEstimate)
The receipt for one applied step.
public RepairStepResult(RepairStep Step, StepOutcome Outcome, string Detail, LossEstimate ActualLoss)
Parameters
StepRepairStepThe step that was attempted.
OutcomeStepOutcomeWhat happened.
DetailstringWhat the step actually did, or why it did not.
ActualLossLossEstimateWhat was really lost, which may be less than estimated — a suspect page can turn out to be orphaned and heal.
Properties
ActualLoss
What was really lost, which may be less than estimated — a suspect page can turn out to be orphaned and heal.
public LossEstimate ActualLoss { get; init; }
Property Value
Detail
What the step actually did, or why it did not.
public string Detail { get; init; }
Property Value
Outcome
What happened.
public StepOutcome Outcome { get; init; }
Property Value
Step
The step that was attempted.
public RepairStep Step { get; init; }
Property Value
Methods
Deconstruct(out RepairStep, out StepOutcome, out string, out LossEstimate)
public void Deconstruct(out RepairStep Step, out StepOutcome Outcome, out string Detail, out LossEstimate ActualLoss)
Parameters
StepRepairStepOutcomeStepOutcomeDetailstringActualLossLossEstimate
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
Equals(RepairStepResult)
public bool Equals(RepairStepResult other)
Parameters
otherRepairStepResult
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(RepairStepResult, RepairStepResult)
public static bool operator ==(RepairStepResult left, RepairStepResult right)
Parameters
leftRepairStepResultrightRepairStepResult
Returns
operator !=(RepairStepResult, RepairStepResult)
public static bool operator !=(RepairStepResult left, RepairStepResult right)
Parameters
leftRepairStepResultrightRepairStepResult