Esempio n. 1
0
 public TodoItemsController(
     IUseCase <Core.Boundaries.Todo.Request> todoUseCase,
     Core.Boundaries.Remove.IUseCase removeUseCase,
     Core.Boundaries.List.IUseCase listUseCase,
     IUseCase <Core.Boundaries.Rename.Request> renameUseCase,
     Core.Boundaries.Do.IUseCase doUseCase,
     Core.Boundaries.Undo.IUseCase undoUseCase)
 {
     this.todoUseCase   = todoUseCase;
     this.removeUseCase = removeUseCase;
     this.listUseCase   = listUseCase;
     this.renameUseCase = renameUseCase;
     this.doUseCase     = doUseCase;
     this.undoUseCase   = undoUseCase;
 }
Esempio n. 2
0
 public TodoItemsController(
     IUseCase <Core.Boundaries.Todo.Request> todoUseCase,
     Core.Boundaries.Remove.IUseCase removeUseCase,
     Core.Boundaries.List.IUseCase listUseCase,
     IUseCase <Core.Boundaries.Rename.Request> renameUseCase,
     Core.Boundaries.Do.IUseCase doUseCase,
     Core.Boundaries.Undo.IUseCase undoUseCase,
     TodoPresenter todoPresenter,
     ListPresenter listPresenter)
 {
     _todoUseCase   = todoUseCase;
     _removeUseCase = removeUseCase;
     _listUseCase   = listUseCase;
     _renameUseCase = renameUseCase;
     _doUseCase     = doUseCase;
     _undoUseCase   = undoUseCase;
     _todoPresenter = todoPresenter;
     _listPresenter = listPresenter;
 }