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 CollectionImmutableQueryDebugView(CollectionImmutableQueryImpl <TValue, TValueQuery, TValueImmutable> collection) : this((CollectionQuery <TValueImmutable>)collection) { }