Class LdValue.Converter<T>
Inheritance
LdValue.Converter<T>
Assembly: LaunchDarkly.CommonSdk.dll
Syntax
public abstract class LdValue.Converter<T>
Type Parameters
Constructors
Converter()
Declaration
Methods
ArrayFrom(IEnumerable<T>)
Declaration
public LdValue ArrayFrom(IEnumerable<T> values)
Parameters
Returns
ArrayOf(params T[])
Declaration
public LdValue ArrayOf(params T[] values)
Parameters
Type |
Name |
Description |
T[] |
values |
|
Returns
FromType(T)
Declaration
public abstract LdValue FromType(T valueOfType)
Parameters
Type |
Name |
Description |
T |
valueOfType |
|
Returns
ObjectFrom(IReadOnlyDictionary<string, T>)
Declaration
public LdValue ObjectFrom(IReadOnlyDictionary<string, T> dictionary)
Parameters
Returns
ToType(LdValue)
Declaration
public abstract T ToType(LdValue jsonValue)
Parameters
Type |
Name |
Description |
LdValue |
jsonValue |
|
Returns