public ControlledStateDictionary(ControlledStateDictionary <TKey, TValue> sibling) { if (sibling == null) { throw new ArgumentNullException("sibling"); } this.locals = sibling.locals; }
public ControlledStateDictionary(IEnumerable <KeyValuePair <TKey, TValue> > entries) { if (entries == null) { throw new ArgumentNullException("entries"); } this.locals = new SharedLocals(InitializeKeysCollection, InitializeValuesCollection); this.locals._AddRange(entries); }
private ValuesCollection(SharedLocals locals) { this.locals = locals; }
public ControlledStateDictionary() { this.locals = new SharedLocals(InitializeKeysCollection, InitializeValuesCollection); }
/// <summary> /// Creates a new <see cref="ControlledDictionary{TKey, TValue}"/> initialized /// to a default state. /// </summary> protected internal ControlledDictionary() { this.locals = new SharedLocals(InitializeKeysCollection, InitializeValuesCollection); }
protected ValuesCollection(ControlledStateDictionary <TKey, TValue> localOwner) { this.locals = localOwner.locals; }
public ValuesCollection(SharedLocals locals) { this.locals = locals; }
public KeysCollection(SharedLocals locals) { this.locals = locals; }
/// <summary> /// Creates a new <see cref="KeysCollection"/> with the /// <paramref name="locals"/> provided. /// </summary> /// <param name="locals">The <see cref="SharedLocals"/> which /// denote the data source to use.</param> private KeysCollection(SharedLocals locals) { this.locals = locals; }