Show / Hide Table of Contents

Class FlagsStateOption

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

Inheritance
System.Object
FlagsStateOption
Namespace: LaunchDarkly.Sdk.Server
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public class FlagsStateOption : Object

Fields

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

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

WithReasons

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

Declaration
public static readonly FlagsStateOption WithReasons
Field Value
Type Description
FlagsStateOption

Methods

ToString()

Returns the string representation of this option.

Declaration
public override string ToString()
Returns
Type Description
System.String

the string representation

In This Article
Back to top Generated by DocFX