Example #1
0
        static ApiController()
        {
            string visibleEnvironmentsStr          = AppSettingsUtils.ReadAppSettingString(_AppSettingsKey_VisibleEnvironments);
            string deployableEnvironmentsStr       = AppSettingsUtils.ReadAppSettingString(_AppSettingsKey_DeployableEnvironments);
            string allowedProjectConfigurationsStr = AppSettingsUtils.ReadAppSettingString(_AppSettingsKey_AllowedProjectConfigurations);

            _visibleEnvironments                = ParseAppSettingSet(visibleEnvironmentsStr);
            _deployableEnvironments             = ParseAppSettingSet(deployableEnvironmentsStr);
            _allowedProjectConfigurations       = ParseAppSettingSet(allowedProjectConfigurationsStr);
            _maxProjectConfigurationBuildsCount = AppSettingsUtils.ReadAppSettingInt(_AppSettingsKey_MaxProjectConfigurationBuildsCount);
        }