Пример #1
0
        public void Setup()
        {
            reduxSharpStore = new ReduxSharp.Store <AppState>(
                new AppReducer(),
                new AppState());

            reduxDotNetStore = new Redux.Store <AppState>(
                AppReducer.Reduce,
                new AppState());
        }
Пример #2
0
        public void Setup()
        {
            reduxSharpStore = new ReduxSharp.Store <AppState>(
                new AppReducer(),
                new AppState(),
                new EmptyMiddleware <AppState>());

            reduxDotNetStore = new Redux.Store <AppState>(
                AppReducer.Reduce,
                new AppState(),
                EmptyMiddleware <AppState> .ApplyMiddleware);
        }