コード例 #1
0
ファイル: Store.cs プロジェクト: TAGC/AsyncRedux
 /// <inheritdoc />
 public Store(
     [NotNull] Reducer <TState> reducer,
     [CanBeNull] TState initialState,
     [NotNull][ItemNotNull] IEnumerable <Middleware <TState> > middleware)
 {
     _reducer    = reducer;
     _dispatcher = CreateDispatcher(middleware);
     _bus        = BusSetup.CreateBus();
     State       = initialState;
 }
コード例 #2
0
ファイル: ObservableSpec.cs プロジェクト: TAGC/AsyncBus
 public ObservableSpec()
 {
     _bus = BusSetup.CreateBus();
 }
コード例 #3
0
ファイル: BusSpec.cs プロジェクト: TAGC/AsyncBus
 public BusSpec()
 {
     _bus = BusSetup.CreateBus();
 }