internal DictionaryQueryOfMutablesImpl(DictionaryQuery <TKey, TValueImmutable> immutableQuery, DictionaryQueryOfQueries <TKey, TValueQuery, TValueImmutable> cmq, DictionaryWithRolesState <TKey, TValue, TValueQuery, TValueImmutable> state) : base(state) { ArgumentValidator.ValidateNotNull("Immutable query", immutableQuery); this._state = state; this._cmq = cmq; this._iq = immutableQuery; }
public virtual DictionaryWithRoles <TKey, TValue, TValueQuery, TValueImmutable> NewDictionary <TKey, TValue, TValueQuery, TValueImmutable>(IDictionary <TKey, TValue> dictionary = null) where TValue : Mutable <TValueQuery, TValueImmutable> where TValueQuery : API.MutableQuery <TValueImmutable> { dictionary = dictionary ?? new Dictionary <TKey, TValue>(); var state = new DictionaryWithRolesState <TKey, TValue, TValueQuery, TValueImmutable>(dictionary); var dicIQ = new DictionaryImmutableQueryImpl <TKey, TValue, TValueQuery, TValueImmutable>(state); return(new DictionaryWithRolesImpl <TKey, TValue, TValueQuery, TValueImmutable>(new DictionaryQueryOfMutablesImpl <TKey, TValue, TValueQuery, TValueImmutable>(dicIQ, new DictionaryQueryOfQueriesImpl <TKey, TValue, TValueQuery, TValueImmutable>(dicIQ, state), state), state)); }
internal DictionaryWithRolesImpl(DictionaryQueryOfMutables <TKey, TValue, TValueQuery, TValueImmutable> mutableQuery, DictionaryWithRolesState <TKey, TValue, TValueQuery, TValueImmutable> state) : base(mutableQuery, state) { this._state = state; }
internal DictionaryImmutableQueryImpl(DictionaryWithRolesState <TKey, TValue, TValueQuery, TValueImmutable> state) { ArgumentValidator.ValidateNotNull("State", state); this._state = state; }
internal DictionaryQueryOfQueriesImpl(DictionaryQuery <TKey, TValueImmutable> immutableQuery, DictionaryWithRolesState <TKey, TValue, TValueQuery, TValueImmutable> state) : base(immutableQuery) { ArgumentValidator.ValidateNotNull("State", state); this._state = state; }