Пример #1
0
 public ChannelCommandService(iChatContext context, IUserQueryService userQueryService,
                              IChannelQueryService channelQueryService, INotificationService notificationService, IMessageCommandService messageCommandService)
 {
     _context               = context;
     _userQueryService      = userQueryService;
     _channelQueryService   = channelQueryService;
     _notificationService   = notificationService;
     _messageCommandService = messageCommandService;
 }
 public ConversationCommandService(iChatContext context, IUserQueryService userQueryService,
                                   IConversationQueryService conversationQueryService,
                                   ICacheService cacheService, INotificationService notificationService,
                                   IMessageCommandService messageCommandService)
 {
     _context                  = context;
     _userQueryService         = userQueryService;
     _conversationQueryService = conversationQueryService;
     _cacheService             = cacheService;
     _notificationService      = notificationService;
     _messageCommandService    = messageCommandService;
 }
Пример #3
0
 public MessagesController(INotificationService notificationService,
                           IMessageQueryService messageQueryService,
                           IMessageCommandService messageCommandService,
                           IConversationQueryService conversationQueryService,
                           IConversationCommandService conversationCommandService,
                           IChannelCommandService channelCommandService,
                           ICacheService cacheService)
 {
     _notificationService        = notificationService;
     _messageQueryService        = messageQueryService;
     _messageCommandService      = messageCommandService;
     _conversationQueryService   = conversationQueryService;
     _conversationCommandService = conversationCommandService;
     _channelCommandService      = channelCommandService;
     _cacheService = cacheService;
 }