public ChannelsCreateNewChannelRequestHandler( ICreateNewChannelRepository repository, IQueue <ChannelToDownload> messagesCollector, IChannelFinderRepository channelFinderRepository) { this.repository = repository; this.messagesCollector = messagesCollector; this.channelFinderRepository = channelFinderRepository; }
public ImportSubscriptionsRequestHandler( ICreateNewChannelRepository createNewChannelRepository, IUserToChannelSubscriptionsRepository subscriptionsRepository, IChannelFinderRepository channelFinderRepository, IQueue <ChannelToDownload> messagesCollector) { this.createNewChannelRepository = createNewChannelRepository; this.subscriptionsRepository = subscriptionsRepository; this.channelFinderRepository = channelFinderRepository; this.messagesCollector = messagesCollector; }