LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Class FlagsStateOption

    Optional parameters that can be passed to AllFlagsState(Context, params FlagsStateOption[]).

    Inheritance
    object
    FlagsStateOption
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: LaunchDarkly.Sdk.Server
    Assembly: LaunchDarkly.ServerSdk.dll
    Syntax
    public class FlagsStateOption

    Fields

    | Edit this page View Source

    ClientSideOnly

    Specifies that only flags marked for use with the client-side SDK should be included in the state object. By default, all flags are included.

    Declaration
    public static readonly FlagsStateOption ClientSideOnly
    Field Value
    Type Description
    FlagsStateOption
    | Edit this page View Source

    DetailsOnlyForTrackedFlags

    Specifies that any flag metadata that is normally only used for event generation - such as flag versions and evaluation reasons - should be omitted for any flag that does not have event tracking or debugging turned on. This reduces the size of the JSON data if you are passing the flag state to the front end.

    Declaration
    public static readonly FlagsStateOption DetailsOnlyForTrackedFlags
    Field Value
    Type Description
    FlagsStateOption
    | Edit this page View Source

    WithReasons

    Specifies that evaluation reasons should be included in the state object (as returned by BoolVariationDetail(string, Context, bool), etc.). By default, they are not included.

    Declaration
    public static readonly FlagsStateOption WithReasons
    Field Value
    Type Description
    FlagsStateOption

    Methods

    | Edit this page View Source

    ToString()

    Returns the string representation of this option.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    the string representation

    Overrides
    object.ToString()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX