C# 클래스 Switcheroo.Features

A static instance of an IFeatureConfiguration, provided for convenience.
파일 보기 프로젝트 열기: rhanekom/Switcheroo

공개 메소드들

메소드 설명
Add ( IFeatureToggle toggle ) : void

Adds the specified feature toggle.

Get ( string toggleName ) : IFeatureToggle

Gets the feature toggle with the specified name.

Initialize ( Action configuration ) : void

Initializes the this configuration using the specified configuration action.

Initialize ( Action configuration ) : void

Initializes the this configuration using the specified configuration action.

IsEnabled ( string featureName ) : bool

Determines whether the feature toggle with the specified name is enabled.

WhatDoIHave ( ) : string

Diagnostics on what's currently contained in this configuration instance.

비공개 메소드들

메소드 설명
Features ( ) : System

메소드 상세

Add() 공개 정적인 메소드

Adds the specified feature toggle.
If is null.
public static Add ( IFeatureToggle toggle ) : void
toggle IFeatureToggle The toggle to add to this configuration.
리턴 void

Get() 공개 정적인 메소드

Gets the feature toggle with the specified name.
If is null.
public static Get ( string toggleName ) : IFeatureToggle
toggleName string Name of the feature toggle.
리턴 IFeatureToggle

Initialize() 공개 정적인 메소드

Initializes the this configuration using the specified configuration action.
public static Initialize ( Action configuration ) : void
configuration Action The source of configuration.
리턴 void

Initialize() 공개 정적인 메소드

Initializes the this configuration using the specified configuration action.
public static Initialize ( Action configuration ) : void
configuration Action The source of configuration.
리턴 void

IsEnabled() 공개 정적인 메소드

Determines whether the feature toggle with the specified name is enabled.
If is null.
public static IsEnabled ( string featureName ) : bool
featureName string Name of the feature toggle.
리턴 bool

WhatDoIHave() 공개 정적인 메소드

Diagnostics on what's currently contained in this configuration instance.
public static WhatDoIHave ( ) : string
리턴 string