Beispiel #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));
        }
Beispiel #2
0
 internal DictionaryProxyQueryImpl(DictionaryProxyState <TKey, TValue> state)
     : base(state)
 {
 }
Beispiel #3
0
 internal DictionaryQueryImpl(DictionaryProxyState <TKey, TValue> state)
     : base(state)
 {
     this._state = state;
 }