Switcheroo.Toggles.LocateByNameStrategy.LocateByNameStrategy C# (CSharp) Метод

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
        public LocateByNameStrategy(IFeatureConfiguration featureConfiguration, string toggleName)
        {
            if (featureConfiguration == null)
            {
                throw new ArgumentNullException("featureConfiguration");
            }

            if (toggleName == null)
            {
                throw new ArgumentNullException("toggleName");
            }

            this.featureConfiguration = featureConfiguration;
            this.toggleName = toggleName;
        }
LocateByNameStrategy