C# 클래스 Switcheroo.Configuration.ApplicationConfigurationReader

A concrete implementation of a IConfigurationReader that reads from the application configuration.
상속: IConfigurationReader
파일 보기 프로젝트 열기: rhanekom/Switcheroo 1 사용 예제들

공개 메소드들

메소드 설명
ApplicationConfigurationReader ( ) : System

Initializes a new instance of the ApplicationConfigurationReader class.

ApplicationConfigurationReader ( Func reader ) : System

Initializes a new instance of the ApplicationConfigurationReader class.

GetFeatures ( ) : IEnumerable

Reads the configuration, and constructs feature toggles based on it.

비공개 메소드들

메소드 설명
BuildDependencies ( IFeatureToggle>.Dictionary toggles ) : IEnumerable
BuildDependencies ( DependencyToggle dependencyToggle, IFeatureToggle>.Dictionary toggles, IEnumerable dependencyNames ) : void
BuildToggles ( IFeatureToggleConfiguration configuration ) : IEnumerable
ConvertToFeatureToggle ( ToggleConfig config ) : IFeatureToggle

메소드 상세

ApplicationConfigurationReader() 공개 메소드

Initializes a new instance of the ApplicationConfigurationReader class.
public ApplicationConfigurationReader ( ) : System
리턴 System

ApplicationConfigurationReader() 공개 메소드

Initializes a new instance of the ApplicationConfigurationReader class.
public ApplicationConfigurationReader ( Func reader ) : System
reader Func A function that retrieves the confiration section that needs to be read.
리턴 System

GetFeatures() 공개 메소드

Reads the configuration, and constructs feature toggles based on it.
public GetFeatures ( ) : IEnumerable
리턴 IEnumerable