示例#1
0
        private static void LoadConfiguration()
        {
            ValidateResultRepositoryBase.LoadBaseConfiguration();

            SettingsSection settings = SettingsSection.GetSection();

            if (settings != null && settings.RepositorySettings != null)
            {
                CookieDomain = GetValue("CookieDomain", settings.RepositorySettings);

                SetTimespanFromRepositorySettings(
                    settings.RepositorySettings, "CookieExpiration", (value) => CookieExpiration = value);
            }
        }
示例#2
0
 private static void LoadConfiguration()
 {
     ValidateResultRepositoryBase.LoadBaseConfiguration();
 }