public virtual SetProxy <TValue> NewSetProxy <TValue>(ISet <TValue> set = null) { set = set ?? new HashSet <TValue>(); var state = new SetState <TValue>(set); return(new SetProxyImpl <TValue>(new SetProxyQueryImpl <TValue>(state), state)); }
public virtual SetWithRoles <TValue, TValueQuery, TValueImmutable> NewMemoryEfficientSet <TValue, TValueQuery, TValueImmutable>(ISet <TValue> setToUse = null) where TValue : Mutable <TValueQuery, TValueImmutable> where TValueQuery : MutableQuery <TValueImmutable> { setToUse = setToUse ?? new HashSet <TValue>(); var state = new SetState <TValue>(setToUse); var setIQ = new SetImmutableQueryImpl <TValue, TValueQuery, TValueImmutable>(state); return(new SetWithRolesImpl <TValue, TValueQuery, TValueImmutable>(new SetQueryOfMutablesImpl <TValue, TValueQuery, TValueImmutable>(setIQ, new SetQueryOfQueriesImpl <TValue, TValueQuery, TValueImmutable>(setIQ, state), state), state)); }
internal SetQueryOfMutablesImpl(SetQuery <TValueImmutable> immutableQuery, SetQueryOfQueries <TValueQuery, TValueImmutable> cmq, SetState <TValue> state) : base(immutableQuery, cmq, state) { this._state = state; }
internal SetProxyQueryImpl(SetState <TValue> state) : base(state) { }
internal SetWithRolesImpl(SetQueryOfMutables <TValue, TValueQuery, TValueImmutable> queryOfMutables, SetState <TValue> state) : base(queryOfMutables, state) { this._state = state; }
internal SetProxyImpl(SetProxyQuery <TValue> cq, SetState <TValue> state) : base(cq, state) { this._state = state; }
internal SetQueryImpl(SetState <TValue> state) : base(state) { this._state = state; }
internal SetQueryOfQueriesImpl(SetQuery <TValueImmutable> iq, SetState <TValue> state) : base(iq, state) { this._state = state; }