Class TestData.FlagBuilder
Inheritance
TestData.FlagBuilder
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public sealed class TestData.FlagBuilder
Methods
BooleanFlag()
Declaration
public TestData.FlagBuilder BooleanFlag()
Returns
ClearRules()
Declaration
public TestData.FlagBuilder ClearRules()
Returns
ClearTargets()
Declaration
public TestData.FlagBuilder ClearTargets()
Returns
ExcludeFromSummaries(bool)
Declaration
public TestData.FlagBuilder ExcludeFromSummaries(bool excludeFromSummaries)
Parameters
Type |
Name |
Description |
bool |
excludeFromSummaries |
|
Returns
FallthroughVariation(bool)
Declaration
public TestData.FlagBuilder FallthroughVariation(bool variation)
Parameters
Type |
Name |
Description |
bool |
variation |
|
Returns
FallthroughVariation(int)
Declaration
public TestData.FlagBuilder FallthroughVariation(int variationIndex)
Parameters
Type |
Name |
Description |
int |
variationIndex |
|
Returns
IfMatch(string, params LdValue[])
Declaration
public TestData.FlagRuleBuilder IfMatch(string attribute, params LdValue[] values)
Parameters
Returns
IfMatchContext(ContextKind, string, params LdValue[])
Declaration
public TestData.FlagRuleBuilder IfMatchContext(ContextKind contextKind, string attribute, params LdValue[] values)
Parameters
Returns
IfNotMatch(string, params LdValue[])
Declaration
public TestData.FlagRuleBuilder IfNotMatch(string attribute, params LdValue[] values)
Parameters
Returns
IfNotMatchContext(ContextKind, string, params LdValue[])
Declaration
public TestData.FlagRuleBuilder IfNotMatchContext(ContextKind contextKind, string attribute, params LdValue[] values)
Parameters
Returns
Migration(FlagMigrationBuilder)
Declaration
public TestData.FlagBuilder Migration(TestData.FlagMigrationBuilder migrationBuilder)
Parameters
Returns
OffVariation(bool)
Declaration
public TestData.FlagBuilder OffVariation(bool variation)
Parameters
Type |
Name |
Description |
bool |
variation |
|
Returns
OffVariation(int)
Declaration
public TestData.FlagBuilder OffVariation(int variationIndex)
Parameters
Type |
Name |
Description |
int |
variationIndex |
|
Returns
On(bool)
Declaration
public TestData.FlagBuilder On(bool on)
Parameters
Type |
Name |
Description |
bool |
on |
|
Returns
SamplingRatio(long)
Declaration
public TestData.FlagBuilder SamplingRatio(long samplingRatio)
Parameters
Type |
Name |
Description |
long |
samplingRatio |
|
Returns
ValueForAll(LdValue)
Declaration
public TestData.FlagBuilder ValueForAll(LdValue value)
Parameters
Type |
Name |
Description |
LdValue |
value |
|
Returns
VariationForAll(bool)
Declaration
public TestData.FlagBuilder VariationForAll(bool variation)
Parameters
Type |
Name |
Description |
bool |
variation |
|
Returns
VariationForAll(int)
Declaration
public TestData.FlagBuilder VariationForAll(int variationIndex)
Parameters
Type |
Name |
Description |
int |
variationIndex |
|
Returns
VariationForKey(ContextKind, string, bool)
Declaration
public TestData.FlagBuilder VariationForKey(ContextKind contextKind, string key, bool variation)
Parameters
Returns
VariationForKey(ContextKind, string, int)
Declaration
public TestData.FlagBuilder VariationForKey(ContextKind contextKind, string key, int variationIndex)
Parameters
Returns
VariationForUser(string, bool)
Declaration
public TestData.FlagBuilder VariationForUser(string userKey, bool variation)
Parameters
Type |
Name |
Description |
string |
userKey |
|
bool |
variation |
|
Returns
VariationForUser(string, int)
Declaration
public TestData.FlagBuilder VariationForUser(string userKey, int variationIndex)
Parameters
Type |
Name |
Description |
string |
userKey |
|
int |
variationIndex |
|
Returns
Variations(params LdValue[])
Declaration
public TestData.FlagBuilder Variations(params LdValue[] values)
Parameters
Type |
Name |
Description |
LdValue[] |
values |
|
Returns