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, string)
Constructs a new EvaluationSeriesContext.
Declaration
public EvaluationSeriesContext(string flagKey, Context context, LdValue defaultValue, string method, string environmentId = null)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | flagKey | the flag key  | 
      
| Context | context | the context  | 
      
| LdValue | defaultValue | the default value  | 
      
| string | method | the variation method  | 
      
| string | environmentId | the environment ID  | 
      
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 | 
EnvironmentId
The environment ID for the evaluation, or null if not available.
Declaration
public string EnvironmentId { get; }
  Property Value
| Type | Description | 
|---|---|
| string | 
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 |