internal CollectionQueryOfQueriesImpl(TImmutableQueryRole immutableQuery, CollectionState <TValue> state) : base(immutableQuery) { ArgumentValidator.ValidateNotNull("State", state); this._state = state; }
internal CollectionMutableImpl(TCollectionQuery cq, CollectionState <TValue> state) { ArgumentValidator.ValidateNotNull("Collection query", cq); ArgumentValidator.ValidateNotNull("State", state); this._cq = cq; this._state = state; this._addition = new CollectionAdditionOnlyImpl <TValue, TCollectionQuery>(this); }
internal DictionaryWithRolesState(IDictionary <TKey, TValue> dictionary) : base(dictionary) { this.dictionary = dictionary; // Keys this.keys = new CollectionQueryImpl <TKey>(new CollectionState <TKey>(this.dictionary.Keys)); // Values CollectionState <TValue> valuesState = new CollectionState <TValue>(this.dictionary.Values); CollectionQuery <TValueImmutable> valuesIQ = new CollectionImmutableQueryImpl <TValue, TValueQuery, TValueImmutable>(valuesState); this.values = new CollectionQueryOfMutablesImpl <CollectionQueryOfQueries <CollectionQuery <TValueImmutable>, TValueQuery, TValueImmutable>, CollectionQuery <TValueImmutable>, TValue, TValueQuery, TValueImmutable>(valuesIQ, new CollectionQueryOfQueriesImpl <CollectionQuery <TValueImmutable>, TValue, TValueQuery, TValueImmutable>(valuesIQ, valuesState), valuesState); }
internal CollectionImmutableQueryImpl(CollectionState <TValue> state) { ArgumentValidator.ValidateNotNull("State", state); this._state = state; }
internal CollectionQueryOfMutablesImpl(TImmutableQueryRole immutableQuery, TQueryOfQueriesRole cmq, CollectionState <TValue> state) : base(state) { ArgumentValidator.ValidateNotNull("Collection query of queries", cmq); ArgumentValidator.ValidateNotNull("Immutable query", immutableQuery); this._iq = immutableQuery; this._cmq = cmq; }
internal CollectionWithRolesImpl(TMutableQueryRole mutableQuery, CollectionState <TValue> state) : base(mutableQuery, state) { }