コード例 #1
0
 private void FetchTodos(FetchTodosAction action)
 {
     action.Todos = _todoCollection.FindAll();
 }
コード例 #2
0
 private static ImmutableArray <TodoItem> FetchTodosReducer(ImmutableArray <TodoItem> previousState, FetchTodosAction action)
 {
     return(ImmutableArray.CreateRange(action.Todos));
 }