Skip to content

RunPromotionOutcome

Namespace AgentPrism · Assembly AgentPrism.Core.dll

Represents the RunToCasePromoter.PromoteAsync outcome and its case, when present.

public sealed record RunPromotionOutcome : IEquatable<RunPromotionOutcome>

objectRunPromotionOutcome

IEquatable<RunPromotionOutcome>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

RunPromotionOutcome(RunPromotionStatus, EvalCase?)

Section titled “ RunPromotionOutcome(RunPromotionStatus, EvalCase?)”

Represents the RunToCasePromoter.PromoteAsync outcome and its case, when present.

public RunPromotionOutcome(RunPromotionStatus Status, EvalCase? Case)

Status RunPromotionStatus

Case EvalCase?

public EvalCase? Case { get; init; }

EvalCase?

public RunPromotionStatus Status { get; init; }

RunPromotionStatus

Deconstruct(out RunPromotionStatus, out EvalCase?)

Section titled “ Deconstruct(out RunPromotionStatus, out EvalCase?)”
public void Deconstruct(out RunPromotionStatus Status, out EvalCase? Case)

Status RunPromotionStatus

Case EvalCase?

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(RunPromotionOutcome? other)

other RunPromotionOutcome?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(RunPromotionOutcome?, RunPromotionOutcome?)

Section titled “ operator ==(RunPromotionOutcome?, RunPromotionOutcome?)”
public static bool operator ==(RunPromotionOutcome? left, RunPromotionOutcome? right)

left RunPromotionOutcome?

right RunPromotionOutcome?

bool

operator !=(RunPromotionOutcome?, RunPromotionOutcome?)

Section titled “ operator !=(RunPromotionOutcome?, RunPromotionOutcome?)”
public static bool operator !=(RunPromotionOutcome? left, RunPromotionOutcome? right)

left RunPromotionOutcome?

right RunPromotionOutcome?

bool