public SendChannelMessageCommandHandler(IPowerChatDbContext dbContext,
                                         ICurrentUserService currentUserService,
                                         IConnectedUsersService connectedUsersService)
 {
     _dbContext             = dbContext;
     _currentUserService    = currentUserService;
     _connectedUsersService = connectedUsersService;
 }
 public GetFriendsQueryHandler(IPowerChatDbContext dbContext,
                               ICurrentUserService currentUserService,
                               IConnectedUsersService connectedUsersService)
 {
     _dbContext             = dbContext;
     _currentUserService    = currentUserService;
     _connectedUsersService = connectedUsersService;
 }
 public AddFriendCommandHandler(IPowerChatDbContext dbContext,
                                ICurrentUserService currentUserService,
                                IMediator mediator)
 {
     _dbContext          = dbContext;
     _currentUserService = currentUserService;
     _mediator           = mediator;
 }
 public CreateChannelCommandHandler(IPowerChatDbContext dbContext,
                                    IMediator mediator,
                                    ICurrentUserService currentUserService)
 {
     _dbContext          = dbContext;
     _mediator           = mediator;
     _currentUserService = currentUserService;
 }
 public GetUserChannelQueryHandler(IPowerChatDbContext dbContext,
                                   IMediator mediator,
                                   ICurrentUserService currentUserService,
                                   IConnectedUsersService connectedUsersService)
 {
     _dbContext             = dbContext;
     _mediator              = mediator;
     _currentUserService    = currentUserService;
     _connectedUsersService = connectedUsersService;
 }
Exemplo n.º 6
0
        public SendChannelMessageCommandValidator(IPowerChatDbContext dbContext)
        {
            _dbContext = dbContext;

            Validate();
        }
Exemplo n.º 7
0
 public SearchUsersQueryHandler(IPowerChatDbContext dbContext,
                                ICurrentUserService currentUserService)
 {
     _dbContext          = dbContext;
     _currentUserService = currentUserService;
 }
 public UserActivityService(IPowerChatDbContext dbContext,
                            IDateTime dateTime)
 {
     _dbContext = dbContext;
     _dateTime  = dateTime;
 }
Exemplo n.º 9
0
 public UserService(UserManager <User> userManager,
                    IPowerChatDbContext dbContext)
 {
     _userManager = userManager;
     _dbContext   = dbContext;
 }
 public GetAccountProfileQueryHandler(IPowerChatDbContext dbContext,
                                      ICurrentUserService currentUserService)
 {
     _dbContext          = dbContext;
     _currentUserService = currentUserService;
 }
Exemplo n.º 11
0
        public GetChannelQueryValidator(IPowerChatDbContext dbContext)
        {
            _dbContext = dbContext;

            Validate();
        }
Exemplo n.º 12
0
 public UpdateAccountProfileCommandHandler(IPowerChatDbContext dbContext,
                                           ICurrentUserService currentUserService)
 {
     _dbContext          = dbContext;
     _currentUserService = currentUserService;
 }