public LinkTodoCommand(IUserTodosDao userTodos, Guid id1, Guid id2,
                        ILinkTodoResponseInProgress responseInProgress)
 {
     _userTodos          = userTodos;
     _id1                = id1;
     _id2                = id2;
     _responseInProgress = responseInProgress;
 }
 public AddTodoCommand(
     CreateTodoRequestData requestData,
     IIdSequence idSequence,
     IUserTodosDao userTodos,
     IAddTodoResponseInProgress addTodoResponseInProgress)
 {
     _idSequence         = idSequence;
     _responseInProgress = addTodoResponseInProgress;
     _requestData        = requestData;
     _userTodos          = userTodos;
 }
예제 #3
0
 public AppLogicRoot(IUserTodosDao userTodosDao, IIdSequence idSequence)
 {
     TodoCommandFactory = new TodoCommandFactory(
         idSequence,
         userTodosDao);
 }
 public TodoCommandFactory(IIdSequence idSequence, IUserTodosDao userTodos)
 {
     _idSequence = idSequence;
     _userTodos  = userTodos;
 }