Struct EvaluationReason
Assembly: LaunchDarkly.CommonSdk.dll
Syntax
[JsonConverter(typeof(LdJsonConverters.EvaluationReasonConverter))]
public struct EvaluationReason : IJsonSerializable
Properties
BigSegmentsStatus
Declaration
public BigSegmentsStatus? BigSegmentsStatus { get; }
Property Value
ErrorKind
Declaration
public EvaluationErrorKind? ErrorKind { get; }
Property Value
FallthroughReason
Declaration
public static EvaluationReason FallthroughReason { get; }
Property Value
InExperiment
Declaration
public bool InExperiment { get; }
Property Value
Kind
Declaration
public EvaluationReasonKind Kind { get; }
Property Value
OffReason
Declaration
public static EvaluationReason OffReason { get; }
Property Value
PrerequisiteKey
Declaration
public string PrerequisiteKey { get; }
Property Value
RuleId
Declaration
public string RuleId { get; }
Property Value
RuleIndex
Declaration
public int? RuleIndex { get; }
Property Value
TargetMatchReason
Declaration
public static EvaluationReason TargetMatchReason { get; }
Property Value
Methods
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
ErrorReason(EvaluationErrorKind)
Declaration
public static EvaluationReason ErrorReason(EvaluationErrorKind errorKind)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrerequisiteFailedReason(string)
Declaration
public static EvaluationReason PrerequisiteFailedReason(string key)
Parameters
Type |
Name |
Description |
string |
key |
|
Returns
RuleMatchReason(int, string)
Declaration
public static EvaluationReason RuleMatchReason(int ruleIndex, string ruleId)
Parameters
Type |
Name |
Description |
int |
ruleIndex |
|
string |
ruleId |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
WithBigSegmentsStatus(BigSegmentsStatus?)
Declaration
public EvaluationReason WithBigSegmentsStatus(BigSegmentsStatus? bigSegmentsStatus)
Parameters
Returns
WithInExperiment(bool)
Declaration
public EvaluationReason WithInExperiment(bool inExperiment)
Parameters
Type |
Name |
Description |
bool |
inExperiment |
|
Returns
Implements