Class EvaluationSeriesContext
EvaluationSeriesContext represents parameters associated with a feature flag evaluation. It is made available in Hook stage callbacks.
Inherited Members
Namespace: LaunchDarkly.Sdk.Server.Hooks
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public sealed class EvaluationSeriesContext
Constructors
| Edit this page View SourceEvaluationSeriesContext(string, Context, LdValue, string)
Constructs a new EvaluationSeriesContext.
Declaration
public EvaluationSeriesContext(string flagKey, Context context, LdValue defaultValue, string method)
Parameters
Type | Name | Description |
---|---|---|
string | flagKey | the flag key |
Context | context | the context |
LdValue | defaultValue | the default value |
string | method | the variation method |
Properties
| Edit this page View SourceContext
The Context used for evaluation.
Declaration
public Context Context { get; }
Property Value
Type | Description |
---|---|
Context |
DefaultValue
The user-provided default value for the evaluation.
Declaration
public LdValue DefaultValue { get; }
Property Value
Type | Description |
---|---|
LdValue |
FlagKey
The key of the feature flag.
Declaration
public string FlagKey { get; }
Property Value
Type | Description |
---|---|
string |
Method
The variation method that triggered the evaluation.
Declaration
public string Method { get; }
Property Value
Type | Description |
---|---|
string |