Exemple #1
0
 public void Add(string key, string value, KeyValueOrigin.Source origin, bool replace = false)
 {
     if (replace)
     {
         dictionary[key] = new KeyValueOrigin(key, value, origin);
     }
     else
     {
         dictionary.Add(key, new KeyValueOrigin(key, value, origin));
     }
 }
Exemple #2
0
 public void Add(KeyValueOrigin nvo)
 {
     nvo.IsNullThrow(nameof(nvo));
     dictionary.Add(nvo.Key, nvo);
 }