C# 클래스 Switcheroo.Toggles.DateRangeToggle

A feature toggle that turns on within a specific date range.
상속: DynamicFeatureToggleBase
파일 보기 프로젝트 열기: rhanekom/Switcheroo 1 사용 예제들

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
Evaluate ( ) : bool

Evaluates the dynamic rules for this instance to determine whether it is enabled.

메소드 상세

DateRangeToggle() 공개 메소드

Initializes a new instance of the DateRangeToggle class.
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 true enable this feature toggle subject to the dynamic evaluation.
enabledFromDate System.DateTime The date that the feature is enabled from.
enabledToDate System.DateTime The date that the feature is enabled to.
리턴 System

Evaluate() 보호된 메소드

Evaluates the dynamic rules for this instance to determine whether it is enabled.
protected Evaluate ( ) : bool
리턴 bool

ToString() 공개 메소드

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
리턴 string