LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Class EvaluationSeriesContext

    EvaluationSeriesContext represents parameters associated with a feature flag evaluation. It is made available in Hook stage callbacks.

    Inheritance
    object
    EvaluationSeriesContext
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: LaunchDarkly.Sdk.Server.Hooks
    Assembly: LaunchDarkly.ServerSdk.dll
    Syntax
    public sealed class EvaluationSeriesContext

    Constructors

    | Edit this page View Source

    EvaluationSeriesContext(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 Source

    Context

    The Context used for evaluation.

    Declaration
    public Context Context { get; }
    Property Value
    Type Description
    Context
    | Edit this page View Source

    DefaultValue

    The user-provided default value for the evaluation.

    Declaration
    public LdValue DefaultValue { get; }
    Property Value
    Type Description
    LdValue
    | Edit this page View Source

    EnvironmentId

    The environment ID for the evaluation, or null if not available.

    Declaration
    public string EnvironmentId { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    FlagKey

    The key of the feature flag.

    Declaration
    public string FlagKey { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Method

    The variation method that triggered the evaluation.

    Declaration
    public string Method { get; }
    Property Value
    Type Description
    string
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX