public void Add(KeyValuePair <string, string> item) { var collection = (ICollection <KeyValuePair <string, string> >) this.dictionary; var pair = new KeyValuePair <string, string>(LocalPropertyBag.GetNormalized(item.Key), LocalPropertyBag.GetNormalized(item.Value)); collection.Add(pair); }
public void Add(string key, string value) { // This is what SharePoint does this.dictionary.Add(LocalPropertyBag.GetNormalized(key), LocalPropertyBag.GetNormalized(value)); }