Class NSCsFeatureToggle
Carrier object for CsFeatureToggle.
Syntax
Constructors
NSCsFeatureToggle()
Initializes a new instance of the NSCsFeatureToggle class.
Declaration
NSCsFeatureToggleMethods
GetName()
Carrier object for CsFeatureToggle.
Declaration
String GetName()Returns
| Type | Description | 
|---|---|
| String | Name of the feature toggle. | 
Examples
NSCsFeatureToggle thing;
String name = thing.GetName();GetState()
Carrier object for CsFeatureToggle.
Declaration
Bool GetState()Returns
| Type | Description | 
|---|---|
| Bool | is the feature toggle is turned on or off? | 
Examples
NSCsFeatureToggle thing;
Bool state = thing.GetState();SetName(String)
Carrier object for CsFeatureToggle.
Declaration
Void SetName(String name)Parameters
| Type | Name | Description | 
|---|---|---|
| String | name | Name of the feature toggle. | 
Returns
| Type | Description | 
|---|---|
| Void | 
Examples
NSCsFeatureToggle thing;
String name;
thing.SetName(name);SetState(Bool)
Carrier object for CsFeatureToggle.
Declaration
Void SetState(Bool state)Parameters
| Type | Name | Description | 
|---|---|---|
| Bool | state | is the feature toggle is turned on or off? | 
Returns
| Type | Description | 
|---|---|
| Void | 
Examples
NSCsFeatureToggle thing;
Bool state;
thing.SetState(state);