Пример #1
0
 public static WorkbanchState ReduceFetchWorkbanchItemsAction(WorkbanchState state, FetchWorkbanchItemsAction action) =>
 new WorkbanchState(true, state.Items, state.SearchString, state.SearchType);
Пример #2
0
 public static WorkbanchState ReduceFetchWorkbanchItemsResultAction(WorkbanchState state, FetchWorkbanchItemsResultAction action) =>
 new WorkbanchState(false, action.Items, state.SearchString, state.SearchType);
Пример #3
0
 public static WorkbanchState ReduceSetWorkbanchSearchTypeAction(WorkbanchState state, SetWorkbanchSearchTypeAction action) =>
 new WorkbanchState(true, state.Items, state.SearchString, action.SearchType);