public UpdateChatsTests() { var testsData = TestsData.Create(nameof(UpdateChatsTests)); fillTestDbHelper = testsData.FillTestDbHelper; updateChatsService = testsData.AppServiceProvider.UpdateChatsService; }
public UpdateMessagesService(IAppServiceProvider appServiceProvider, IDbContextFactory <MessengerDbContext> contextFactory) { this.loadDialogsService = appServiceProvider.LoadDialogsService; this.updateChatsService = appServiceProvider.UpdateChatsService; this.updateChannelsService = appServiceProvider.UpdateChannelsService; this.contextFactory = contextFactory; }
public AddUsersChatNoticeHandler(NodeNotice notice, NodeConnection node, IConversationsNoticeService conversationsNoticeService, IUpdateChatsService updateChatsService, INodeRequestSender nodeRequestSender, ICrossNodeService crossNodeService, ISystemMessagesService systemMessagesService) { this.notice = (AddUsersChatNodeNotice)notice; this.node = node; this.conversationsNoticeService = conversationsNoticeService; this.updateChatsService = updateChatsService; this.nodeRequestSender = nodeRequestSender; this.crossNodeService = crossNodeService; this.systemMessagesService = systemMessagesService; }
public MessagesReadNoticeHandler(NodeNotice notice, NodeConnection current, IConversationsNoticeService conversationsNoticeService, IUpdateMessagesService updateMessagesService, IUpdateChatsService updateChatsService, ILoadDialogsService loadDialogsService, IUpdateChannelsService updateChannelsService) { this.notice = (MessagesReadNodeNotice)notice; this.current = current; this.conversationsNoticeService = conversationsNoticeService; this.updateMessagesService = updateMessagesService; this.updateChatsService = updateChatsService; this.loadDialogsService = loadDialogsService; this.updateChannelsService = updateChannelsService; }
public EditChatUsersRequestHandler( Request request, ClientConnection clientConnection, INodeNoticeService nodeNoticeService, IConversationsNoticeService conversationsNoticeService, ILoadChatsService loadChatsService, IUpdateChatsService updateChatsService, ISystemMessagesService systemMessagesService) { this.request = (EditChatUsersRequest)request; this.clientConnection = clientConnection; this.nodeNoticeService = nodeNoticeService; this.conversationsNoticeService = conversationsNoticeService; this.loadChatsService = loadChatsService; this.updateChatsService = updateChatsService; this.systemMessagesService = systemMessagesService; }