Beispiel #1
0
 public ChannelsController(IChannelCommandService channelCommandService,
                           IChannelQueryService channelQueryService, INotificationService notificationService)
 {
     _channelCommandService = channelCommandService;
     _channelQueryService   = channelQueryService;
     _notificationService   = notificationService;
 }
 public WorkspacesController(iChatContext context, IUserQueryService userQueryService,
                             IUserCommandService userCommandService, IChannelCommandService channelCommandService,
                             IConversationCommandService conversationCommandService, IWorkspaceCommandService workspaceCommandService)
 {
     _userQueryService           = userQueryService;
     _userCommandService         = userCommandService;
     _channelCommandService      = channelCommandService;
     _conversationCommandService = conversationCommandService;
     _workspaceCommandService    = workspaceCommandService;
 }
Beispiel #3
0
 public UsersController(IUserQueryService userQueryService,
                        IUserCommandService userCommandService,
                        IWorkspaceQueryService workspaceService, IChannelCommandService channelCommandService,
                        IConversationCommandService conversationCommandService,
                        ICacheService cacheService)
 {
     _userQueryService           = userQueryService;
     _userCommandService         = userCommandService;
     _workspaceQueryService      = workspaceService;
     _channelCommandService      = channelCommandService;
     _conversationCommandService = conversationCommandService;
     _cacheService = cacheService;
 }
Beispiel #4
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;
 }