Esempio n. 1
0
 public static void Initialize()
 {
     foreach (string s in ConfigurationManager.AppSettings.AllKeys)
     {
         var key = s.ToLower();
         Cache.Set(key, ConfigurationManager.AppSettings[key]);
     }
 }
 public static void Initialize(string[] args)
 {
     foreach (var arg in args)
     {
         if (!ParseArgument(arg, out var key, out var value))
         {
             continue;
         }
         key = key.ToLower();
         Cache.Set(key, value);
     }
 }