public Store makeStore()
        {
            HashSet <Reducer> reducers = new HashSet <Reducer>();

            Store store = new StoreImpl(reducers);

            return(store);
        }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 3
0
 private MemoryStore(StoreImpl impl)
 {
     this.impl = impl;
     AddSource2(impl);
 }