示例#1
0
        public Dispatch()
        {
            StartEvent = new ManualResetEvent(false);
            var storeInitializer = new TestStoreInitializer();

            Store = new Store(storeInitializer);
            Store.Initialize();

            Feature = new CounterFeature();
            Store.AddFeature(Feature);

            Feature.AddReducer(new IncrementCounterReducer());
            storeInitializer.Complete();
        }