コード例 #1
0
 public LogUserActivityCommandHandler(
     IDatingAppDbContext dbContext,
     IClock clock)
 {
     _dbContext = dbContext;
     _clock     = clock;
 }
コード例 #2
0
 public UserLoginService(IDatingAppDbContext dbContext,
                         ITokenService tokenService,
                         IPasswordValidator passwordValidator)
 {
     _dbContext         = dbContext;
     _tokenService      = tokenService;
     _passwordValidator = passwordValidator;
 }
コード例 #3
0
 public AddMessageCommandHandler(
     IUserRepository userRepository,
     IDatingAppDbContext dbContext,
     IClock clock)
 {
     _userRepository = userRepository;
     _dbContext      = dbContext;
     _clock          = clock;
 }
コード例 #4
0
 public UserRegistrationService(IDatingAppDbContext dbContext,
                                ITokenService tokenService,
                                IPasswordHashService passwordHashService,
                                IClock clock,
                                IMapper mapper)
 {
     _dbContext           = dbContext;
     _tokenService        = tokenService;
     _passwordHashService = passwordHashService;
     _clock  = clock;
     _mapper = mapper;
 }
コード例 #5
0
 public LikeMemberCommandHandler(IUserRepository userRepository, IDatingAppDbContext dbContext)
 {
     _userRepository = userRepository;
     _dbContext      = dbContext;
 }
コード例 #6
0
 public GetCurrentMemberLikesQueryHandler(IDatingAppDbContext dbContext)
 {
     _dbContext = dbContext;
 }
コード例 #7
0
 public GetMemberListQueryHandler(
     IDatingAppDbContext datingAppDbContext)
 {
     _datingAppDbContext = datingAppDbContext;
 }
コード例 #8
0
 public GetMessageThreadQueryHandler(IDatingAppDbContext datingAppDbContext)
 {
     _datingAppDbContext = datingAppDbContext;
 }
コード例 #9
0
 public GetMemberQueryHandler(IDatingAppDbContext dbContext, IMapper mapper)
 {
     _dbContext = dbContext;
     _mapper    = mapper;
 }