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