Click or drag to resize

LdClientBoolVariationDetail Method

Calculates the boolean value of a feature flag for a given user, and returns an object that describes the way the value was determined.

Namespace:  LaunchDarkly.Client
Assembly:  LaunchDarkly.ServerSdk (in LaunchDarkly.ServerSdk.dll) Version: 5.13.0
Syntax
public EvaluationDetail<bool> BoolVariationDetail(
	string key,
	User user,
	bool defaultValue
)

Parameters

key
Type: SystemString
the unique feature key for the feature flag
user
Type: LaunchDarkly.ClientUser
the end user requesting the flag
defaultValue
Type: SystemBoolean
the default value of the flag

Return Value

Type: EvaluationDetailBoolean
an EvaluationDetailT object

Implements

ILdClientBoolVariationDetail(String, User, Boolean)
Remarks

The Reason property in the result will also be included in analytics events, if you are capturing detailed event data for this flag.

The behavior is otherwise identical to BoolVariation(String, User, Boolean).

See Also