public void Add(NameValueCollection nvc, KeyValueOrigin.Origins origin) { for (int i = 0; i < nvc.Count; ++i) { Add(nvc.GetKey(i), nvc.Get(i), origin); } }
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)); } }
public void Add(string key, string value, KeyValueOrigin.Origins origin) { dictionary.Add(key, new KeyValueOrigin(key, value, origin)); }