C# Class Switcheroo.Configuration.ApplicationConfigurationReader

A concrete implementation of a IConfigurationReader that reads from the application configuration.
Inheritance: IConfigurationReader
Afficher le fichier Open project: rhanekom/Switcheroo Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
BuildDependencies ( IFeatureToggle>.Dictionary toggles ) : IEnumerable
BuildDependencies ( DependencyToggle dependencyToggle, IFeatureToggle>.Dictionary toggles, IEnumerable dependencyNames ) : void
BuildToggles ( IFeatureToggleConfiguration configuration ) : IEnumerable
ConvertToFeatureToggle ( ToggleConfig config ) : IFeatureToggle

Method Details

ApplicationConfigurationReader() public méthode

Initializes a new instance of the ApplicationConfigurationReader class.
public ApplicationConfigurationReader ( ) : System
Résultat System

ApplicationConfigurationReader() public méthode

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.
Résultat System

GetFeatures() public méthode

Reads the configuration, and constructs feature toggles based on it.
public GetFeatures ( ) : IEnumerable
Résultat IEnumerable