コード例 #1
0
 public SendChannelMessageCommandHandler(IPowerChatDbContext dbContext,
                                         ICurrentUserService currentUserService,
                                         IConnectedUsersService connectedUsersService)
 {
     _dbContext             = dbContext;
     _currentUserService    = currentUserService;
     _connectedUsersService = connectedUsersService;
 }
コード例 #2
0
 public GetFriendsQueryHandler(IPowerChatDbContext dbContext,
                               ICurrentUserService currentUserService,
                               IConnectedUsersService connectedUsersService)
 {
     _dbContext             = dbContext;
     _currentUserService    = currentUserService;
     _connectedUsersService = connectedUsersService;
 }
コード例 #3
0
 public AddFriendCommandHandler(IPowerChatDbContext dbContext,
                                ICurrentUserService currentUserService,
                                IMediator mediator)
 {
     _dbContext          = dbContext;
     _currentUserService = currentUserService;
     _mediator           = mediator;
 }
コード例 #4
0
 public CreateChannelCommandHandler(IPowerChatDbContext dbContext,
                                    IMediator mediator,
                                    ICurrentUserService currentUserService)
 {
     _dbContext          = dbContext;
     _mediator           = mediator;
     _currentUserService = currentUserService;
 }
コード例 #5
0
 public GetUserChannelQueryHandler(IPowerChatDbContext dbContext,
                                   IMediator mediator,
                                   ICurrentUserService currentUserService,
                                   IConnectedUsersService connectedUsersService)
 {
     _dbContext             = dbContext;
     _mediator              = mediator;
     _currentUserService    = currentUserService;
     _connectedUsersService = connectedUsersService;
 }
コード例 #6
0
        public SendChannelMessageCommandValidator(IPowerChatDbContext dbContext)
        {
            _dbContext = dbContext;

            Validate();
        }
コード例 #7
0
 public SearchUsersQueryHandler(IPowerChatDbContext dbContext,
                                ICurrentUserService currentUserService)
 {
     _dbContext          = dbContext;
     _currentUserService = currentUserService;
 }
コード例 #8
0
 public UserActivityService(IPowerChatDbContext dbContext,
                            IDateTime dateTime)
 {
     _dbContext = dbContext;
     _dateTime  = dateTime;
 }
コード例 #9
0
 public UserService(UserManager <User> userManager,
                    IPowerChatDbContext dbContext)
 {
     _userManager = userManager;
     _dbContext   = dbContext;
 }
コード例 #10
0
 public GetAccountProfileQueryHandler(IPowerChatDbContext dbContext,
                                      ICurrentUserService currentUserService)
 {
     _dbContext          = dbContext;
     _currentUserService = currentUserService;
 }
コード例 #11
0
        public GetChannelQueryValidator(IPowerChatDbContext dbContext)
        {
            _dbContext = dbContext;

            Validate();
        }
コード例 #12
0
 public UpdateAccountProfileCommandHandler(IPowerChatDbContext dbContext,
                                           ICurrentUserService currentUserService)
 {
     _dbContext          = dbContext;
     _currentUserService = currentUserService;
 }