Method | Description | |
---|---|---|
DateRangeToggle ( string name, bool enabled, System.DateTime enabledFromDate, System.DateTime enabledToDate ) : System |
Initializes a new instance of the DateRangeToggle class.
|
|
ToString ( ) : string |
Returns a T:System.String that represents the current T:System.Object.
|
Method | Description | |
---|---|---|
Evaluate ( ) : bool |
Evaluates the dynamic rules for this instance to determine whether it is enabled.
|
public DateRangeToggle ( string name, bool enabled, System.DateTime enabledFromDate, System.DateTime enabledToDate ) : System | ||
name | string | The name of the feature toggle |
enabled | bool | if set to |
enabledFromDate | System.DateTime | The date that the feature is enabled from. |
enabledToDate | System.DateTime | The date that the feature is enabled to. |
return | System |