public static CDictionary <TKey, TValue> Synchronized(CDictionary <TKey, TValue> dictionary) { if (dictionary == null) { throw new ArgumentNullException("dictionary"); } return(new SyncDictionary <TKey, TValue>(dictionary)); }
internal SyncDictionary(SerializationInfo info, StreamingContext context) : base(info, context) { this.cdictionary_0 = new CDictionary <TKey, TValue>(); this.cdictionary_0 = (CDictionary <TKey, TValue>)info.GetValue("ParentTable", typeof(CDictionary <TKey, TValue>)); if (this.cdictionary_0 == null) { throw new SerializationException("Insufficient state to return the real object."); } }
public SyncDictionary(CDictionary <TKey, TValue> dictionary) { this.cdictionary_0 = new CDictionary <TKey, TValue>(); this.cdictionary_0 = dictionary; }
public SyncDictionary() { this.cdictionary_0 = new CDictionary <TKey, TValue>(); }
public OrderedDictionary(int capacity, IEqualityComparer <TKey> comparer) { this.cdictionary_0 = new CDictionary <TKey, TValue>(capacity, comparer); this.clist_0 = new CList <KeyValuePair <TKey, TValue> >(); }
public OrderedDictionary(int capacity) { this.cdictionary_0 = new CDictionary <TKey, TValue>(capacity); this.clist_0 = new CList <KeyValuePair <TKey, TValue> >(); }
public OrderedDictionary(IDictionary <TKey, TValue> dictionary) { this.cdictionary_0 = new CDictionary <TKey, TValue>(dictionary); this.clist_0 = new CList <KeyValuePair <TKey, TValue> >(); }