C# Class Switcheroo.Toggles.LocateByNameStrategy

A locator strategy to find a feature toggle by name.
Inheritance: ILocatorStrategy
Afficher le fichier Open project: rhanekom/Switcheroo Class Usage Examples

Méthodes publiques

Méthode Description
Locate ( ) : IFeatureToggle

Locates a feature toggle with the strategy as indicated by this type.

LocateByNameStrategy ( IFeatureConfiguration featureConfiguration, string toggleName ) : System

Initializes a new instance of the LocateByNameStrategy class.

Method Details

Locate() public méthode

Locates a feature toggle with the strategy as indicated by this type.
public Locate ( ) : IFeatureToggle
Résultat IFeatureToggle

LocateByNameStrategy() public méthode

Initializes a new instance of the LocateByNameStrategy class.
public LocateByNameStrategy ( IFeatureConfiguration featureConfiguration, string toggleName ) : System
featureConfiguration IFeatureConfiguration The feature configuration to find the toggle in.
toggleName string The name of the toggle to find.
Résultat System