public Interactor( IUseCaseOutputHandler <Output> outputHandler, ITodoItemGateway todoItemGateway) { _outputHandler = outputHandler; _todoItemGateway = todoItemGateway; }
public ListTodoItems( IResponseHandler <Response> outputHandler, ITodoItemGateway todoItemGateway) { _outputHandler = outputHandler; _todoItemGateway = todoItemGateway; }
public AddTodoItem( IResponseHandler <Response> outputHandler, ITodoItemGateway todoItemGateway, IEntitiesFactory entitiesFactory) { _outputHandler = outputHandler; _todoItemGateway = todoItemGateway; _entitiesFactory = entitiesFactory; }
public Interactor( ITodoItemGateway todoItemGateway) { _todoItemGateway = todoItemGateway; }
public RemoveTodoItem( ITodoItemGateway todoItemGateway) { _todoItemGateway = todoItemGateway; }
public Startup() { inMemoryContext = new DBContext(); gateway = new TodoItemGateway(inMemoryContext); outputHandler = new ConsoleUseCaseOutputHandler(); }
public UpdateTitle( ITodoItemGateway todoItemGateway) { _todoItemGateway = todoItemGateway; }
public MarkItemCompleted( ITodoItemGateway todoItemGateway) { _todoItemGateway = todoItemGateway; }
public FinishTodoItem( ITodoItemGateway todoItemGateway) { _todoItemGateway = todoItemGateway; }