public PollingNodeNoticeHandler(NodeNotice notice, NodeConnection nodeConnection, IPollsService pollsService, INodeRequestSender nodeRequestSender) { this.notice = (PollingNodeNotice)notice; this.nodeConnection = nodeConnection; this.pollsService = pollsService; this.nodeRequestSender = nodeRequestSender; }
public GetPollVotedUsersRequestHandler(Request request, ClientConnection clientConnection, IConnectionsService connectionsService, IPollsService pollsService, INodeRequestSender nodeRequestSender) { this.request = (GetPollVotedUsersRequest)request; this.clientConnection = clientConnection; this.connectionsService = connectionsService; this.pollsService = pollsService; this.nodeRequestSender = nodeRequestSender; }
public AttachmentsService(IAppServiceProvider appServiceProvider, IDbContextFactory <MessengerDbContext> contextFactory) { _createMessagesService = appServiceProvider.CreateMessagesService; _loadMessagesService = appServiceProvider.LoadMessagesService; _loadDialogsService = appServiceProvider.LoadDialogsService; _filesService = appServiceProvider.FilesService; _pollsService = appServiceProvider.PollsService; _nodeRequestSender = appServiceProvider.NodeRequestSender; _loadChatsService = appServiceProvider.LoadChatsService; _loadUsersService = appServiceProvider.LoadUsersService; _connectionsService = appServiceProvider.ConnectionsService; this.contextFactory = contextFactory; }
public PollingRequestHandler( Request request, ClientConnection clientConnection, INodeNoticeService nodeNoticeService, ILoadChatsService loadChatsService, IPollsService pollsService, ILoadChannelsService loadChannelsService) { this.request = (PollingRequest)request; this.clientConnection = clientConnection; this.nodeNoticeService = nodeNoticeService; this.loadChatsService = loadChatsService; this.pollsService = pollsService; this.loadChannelsService = loadChannelsService; }
public UsersController(IUserService userService, ICommentsService commentsService, IPollsService pollsService) { _userService = userService; _commentsService = commentsService; _pollsService = pollsService; }
public GetPollInformationNodeRequestHandler(NodeRequest request, NodeConnection current, IPollsService pollsService) { this.request = (GetPollInformationNodeRequest)request; this.current = current; this.pollsService = pollsService; }
public PollsController(IPollsService pollsService, IAnswersService answersService, ICommentsService commentsService) { _pollsService = pollsService; _answersService = answersService; _commentsService = commentsService; }
public PollsTests() { TestsData testsData = TestsData.Create(nameof(PollsTests)); fillTestDbHelper = testsData.FillTestDbHelper; pollsService = testsData.AppServiceProvider.PollsService; }