Namespace LaunchDarkly.Sdk
The base namespace for all LaunchDarkly .NET-based SDKs, containing common types.
Types in this namespace are part of the overall LaunchDarkly model, shared by both server-side and client-side SDKs. The one you will use most often is User.
The NuGet package containing these types is LaunchDarkly.CommonSdk
. Normally you should not need to reference that package directly; it is loaded automatically as a dependency of the main SDK package.
Classes
AttributeRef
An attribute name or path expression identifying a value within a Context.
BigSegmentsStatus
Defines the possible values of BigSegmentsStatus.
Context
A collection of attributes that can be referenced in flag evaluations and analytics events.
ContextBuilder
A mutable object that uses the builder pattern to specify properties for a Context.
ContextKind
A string value provided by the application to describe what kind of entity a Context represents.
ContextMultiBuilder
A mutable object that uses the builder pattern to specify properties for a Context.
EvaluationDetail<T>
An object returned by the "variation detail" methods of the client, combining the result of a flag evaluation with an explanation of how it was calculated.
EvaluationErrorKind
Enumerated type defining the possible values of ErrorKind.
EvaluationReason
Describes the reason that a flag evaluation produced a particular value.
EvaluationReasonKind
Enumerated type defining the possible values of Kind.
LdValue
An immutable instance of any data type that is allowed in JSON.
LdValue.ArrayBuilder
An object returned by BuildArray() for building an array of values.
LdValue.Convert
Predefined instances of LdValue.Converter<T> for commonly used types.
LdValue.Converter<T>
Defines a conversion between LdValue and some other type.
LdValue.ObjectBuilder
An object returned by BuildObject() for building an object from keys and values.
LdValueType
Describes the type of a JSON value.
UnixMillisecondTime
An instant measured in milliseconds since the Unix epoch.
User
Attributes of a user for whom you are evaluating feature flags.
UserAttribute
Represents a built-in or custom attribute name supported by User.
Interfaces
IUserBuilder
A mutable object that uses the Builder pattern to specify properties for a User object.
IUserBuilderCanMakeAttributePrivate
An extension of IUserBuilder that allows attributes to be made private via the AsPrivateAttribute() method.