ExperimentCanaryResponse
Namespace AgentPrism · Assembly
AgentPrism.AspNetCore.dllResponse for GET /api/experiments/{name}/canary — the rule AND its
current evaluation together.
public sealed record ExperimentCanaryResponse : IEquatable<ExperimentCanaryResponse>Inheritance
Section titled “Inheritance”object ← ExperimentCanaryResponse
Implements
Section titled “Implements”IEquatable<ExperimentCanaryResponse>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”ExperimentCanaryResponse.Evaluation is not PERSISTENT: it is computed LIVE by
CanaryEvaluator on every call (see the CanaryEvaluation
class documentation).
Constructors
Section titled “Constructors”ExperimentCanaryResponse()
Section titled “ ExperimentCanaryResponse()”public ExperimentCanaryResponse()Properties
Section titled “Properties”Evaluation
Section titled “ Evaluation”Current evaluation of the rule. null if Policy is null.
public CanaryEvaluation? Evaluation { get; init; }Property Value
Section titled “Property Value”Policy
Section titled “ Policy”The defined canary rule. null if none has been defined.
public CanaryPolicy? Policy { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(ExperimentCanaryResponse?)
Section titled “ Equals(ExperimentCanaryResponse?)”public bool Equals(ExperimentCanaryResponse? other)Parameters
Section titled “Parameters”other ExperimentCanaryResponse?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(ExperimentCanaryResponse?, ExperimentCanaryResponse?)
Section titled “ operator ==(ExperimentCanaryResponse?, ExperimentCanaryResponse?)”public static bool operator ==(ExperimentCanaryResponse? left, ExperimentCanaryResponse? right)Parameters
Section titled “Parameters”left ExperimentCanaryResponse?
right ExperimentCanaryResponse?
Returns
Section titled “Returns”operator !=(ExperimentCanaryResponse?, ExperimentCanaryResponse?)
Section titled “ operator !=(ExperimentCanaryResponse?, ExperimentCanaryResponse?)”public static bool operator !=(ExperimentCanaryResponse? left, ExperimentCanaryResponse? right)Parameters
Section titled “Parameters”left ExperimentCanaryResponse?
right ExperimentCanaryResponse?