C# Класс Switcheroo.Toggles.LocateByNameStrategy

A locator strategy to find a feature toggle by name.
Наследование: ILocatorStrategy
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Locate() публичный Метод

Locates a feature toggle with the strategy as indicated by this type.
public Locate ( ) : IFeatureToggle
Результат IFeatureToggle

LocateByNameStrategy() публичный Метод

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.
Результат System