public UpdateMessagesTests() { var testsData = TestsData.Create(nameof(UpdateMessagesTests)); fillTestDbHelper = testsData.FillTestDbHelper; updateMessagesService = testsData.AppServiceProvider.UpdateMessagesService; }
public NodeNoticeService(IAppServiceProvider appServiceProvider) { _connectionsService = appServiceProvider.ConnectionsService; _updateMessagesService = appServiceProvider.UpdateMessagesService; _loadChatsService = appServiceProvider.LoadChatsService; _loadDialogsService = appServiceProvider.LoadDialogsService; _loadChannelsService = appServiceProvider.LoadChannelsService; _pendingMessagesService = appServiceProvider.PendingMessagesService; _nodesService = appServiceProvider.NodesService; }
public MessagesUpdatedNodeNoticeHandler(NodeNotice notice, NodeConnection nodeConnection, IConversationsNoticeService conversationsNoticeService, IUpdateMessagesService updateMessagesService, IAttachmentsService attachmentsService) { this.notice = (MessagesUpdatedNodeNotice)notice; this.nodeConnection = nodeConnection; this.conversationsNoticeService = conversationsNoticeService; this.updateMessagesService = updateMessagesService; this.attachmentsService = attachmentsService; }
public EditMessageRequestHandler( Request request, ClientConnection clientConnection, INodeNoticeService nodeNoticeService, IConversationsNoticeService conversationsNoticeService, IUpdateMessagesService updateMessagesService, IAttachmentsService attachmentsService) { this.request = (EditMessageRequest)request; this.clientConnection = clientConnection; this.nodeNoticeService = nodeNoticeService; this.conversationsNoticeService = conversationsNoticeService; this.updateMessagesService = updateMessagesService; this.attachmentsService = attachmentsService; }
public MessagesReadRequestHandler( Request request, ClientConnection clientConnection, INodeNoticeService nodeNoticeService, IConversationsNoticeService conversationsNoticeService, IUpdateMessagesService updateMessagesService, ILoadDialogsService loadDialogsService) { this.request = (MessagesReadRequest)request; this.clientConnection = clientConnection; this.nodeNoticeService = nodeNoticeService; this.conversationsNoticeService = conversationsNoticeService; this.updateMessagesService = updateMessagesService; this.loadDialogsService = loadDialogsService; }
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; }