示例#1
0
 public RegisterUserInteractor(FindUserQuery userQuery, FindUserQueryByEmail emailQuery, IRepository repository, PasswordHash passwordHash)
 {
     _userQuery    = userQuery;
     _emailQuery   = emailQuery;
     _repository   = repository;
     _passwordHash = passwordHash;
 }
        private static RegisterUserInteractor RegisterUserInteractor(FindUserQuery findUserQuery,
                                                                     FindUserQueryByEmail findUserQueryByEmail, IRepository repository, PasswordHash hash)
        {
            var interactor = new RegisterUserInteractor(findUserQuery, findUserQueryByEmail, repository, hash);

            return(interactor);
        }
示例#3
0
 public LoginUserInteractor(FindUserQueryByEmail emailQueryObject)
 {
     _emailQueryObject = emailQueryObject;
 }