Exemplo n.º 1
0
        public virtual DictionaryProxy <TKey, TValue> NewDictionaryProxy <TKey, TValue>(IDictionary <TKey, TValue> dictionary = null)
        {
            dictionary = dictionary ?? new Dictionary <TKey, TValue>();
            var state = new DictionaryProxyState <TKey, TValue>(dictionary);

            return(new DictionaryProxyImpl <TKey, TValue>(new DictionaryProxyQueryImpl <TKey, TValue>(state), state));
        }
Exemplo n.º 2
0
 internal DictionaryProxyQueryImpl(DictionaryProxyState <TKey, TValue> state)
     : base(state)
 {
 }
Exemplo n.º 3
0
 internal DictionaryQueryImpl(DictionaryProxyState <TKey, TValue> state)
     : base(state)
 {
     this._state = state;
 }