public virtual bool IsEnabled(string specificEntityId) { if (_currentEnvironment == 0) { _currentEnvironment = JsonConfigHelper.GetEnvironment(); } return(_togglerHelper.IsEnabled(this, _currentEnvironment, _currentPlatform, specificEntityId, _isTestMode, _applications)); }
public JsonTogglerService() : this(JsonConfigHelper.GetJsonFileDirectory()) { }
public SubFeatureToggle() : this(JsonConfigHelper.GetPlatform(), JsonConfigHelper.GetEnvironment(), JsonConfigHelper.GetIsTestMode(), JsonConfigHelper.GetApplications()) { }
public JsonFeatureToggler(PlatformEnum platform, EnvironmentEnum environment) : this(platform, environment, JsonConfigHelper.GetIsTestMode(), JsonConfigHelper.GetApplications()) { }
public JsonFeatureToggler() : this(JsonConfigHelper.GetPlatform()) { }