public Store makeStore() { HashSet <Reducer> reducers = new HashSet <Reducer>(); Store store = new StoreImpl(reducers); return(store); }
public StoreImplTests() { this.messages = new List <Message>(); this.factory = new MessageFactoryImpl(); this.state = new Dictionary <string, object>(); this.messageValidator = new MessageValidatorImpl(); this.reducers = new HashSet <Reducer>(); this.reducers.Add(new ReducerImpl("SAMPLE", this.messageValidator)); this.reducers.Add(new ExceptionReducerImpl()); this.store = new StoreImpl(this.reducers, this.state, this.messageValidator); }
private MemoryStore(StoreImpl impl) { this.impl = impl; AddSource2(impl); }