Пример #1
0
 public void Add(NameValueCollection nvc, KeyValueOrigin.Origins origin)
 {
     for (int i = 0; i < nvc.Count; ++i)
     {
         Add(nvc.GetKey(i), nvc.Get(i), origin);
     }
 }
Пример #2
0
 public void Add(string key, string value, KeyValueOrigin.Origins origin, bool replace)
 {
     if (replace)
     {
         dictionary[key] = new KeyValueOrigin(key, value, origin);
     }
     else
     {
         dictionary.Add(key, new KeyValueOrigin(key, value, origin));
     }
 }
Пример #3
0
 public void Add(string key, string value, KeyValueOrigin.Origins origin)
 {
     dictionary.Add(key, new KeyValueOrigin(key, value, origin));
 }