public TwitterStreamingMessageObserver(ILogger logger, IFactory <StreamingMessage, Status> statusFactory, IFactory <Status, string, IEnumerable <string> > twitterStatusFormatter, IPrivateConstants privateConstants)
 {
     _logger                 = logger;
     _statusFactory          = statusFactory;
     _twitterStatusFormatter = twitterStatusFormatter;
     _privateConstants       = privateConstants;
 }
 public DestinyGgSendingClient(
     IPrivateConstants privateConstants,
     ISettings settings,
     ILogger logger,
     ITimeService timeService,
     IPipelineManager pipelineManager
     ) : base(privateConstants, logger, settings, timeService, pipelineManager)
 {
 }
 public TwitchSendingClient(
     IFactory <ChatMessage, IReceived <IUser, ITransmittable> > twitchChatMessageParser,
     IPrivateConstants privateConstants,
     IPipelineManager pipelineManager,
     ITimeService timeService,
     ISettings settings,
     ILogger logger
     ) : base(twitchChatMessageParser, privateConstants, pipelineManager, timeService, settings, logger)
 {
 }
        protected DestinyGgBaseClient(
            IPrivateConstants privateConstants,
            ILogger logger,
            ISettings settings,
            ITimeService timeService,
            IPipelineManager pipelineManager
            ) : base(logger, settings, timeService, pipelineManager)
        {
            _privateConstants = privateConstants;

            pipelineManager.SetSender(Send);
            _constructWebsocket();
        }
Beispiel #5
0
 public DownloadMapper(
     IGenericClassFactory <string, string, string> urlJsonParser,
     IGenericClassFactory <string, string, string> urlXmlParser,
     IErrorableFactory <string, string, string, string> errorableDownloadFactory,
     IFactory <string, string, string> downloadFactory,
     IPrivateConstants privateConstants,
     ITimeService timeService)
 {
     _urlJsonParser            = urlJsonParser;
     _urlXmlParser             = urlXmlParser;
     _errorableDownloadFactory = errorableDownloadFactory;
     _downloadFactory          = downloadFactory;
     _privateConstants         = privateConstants;
     _timeService = timeService;
 }
Beispiel #6
0
 public TwitterManager(
     IPrivateConstants privateConstants,
     ILogger logger,
     ITwitterStreamingMessageObserver twitterObserver,
     IQueryCommandService <IUnitOfWork> unitOfWork,
     IFactory <Status, string, IEnumerable <string> > twitterStatusFormatter,
     ITimeService timeService
     )
 {
     _privateConstants       = privateConstants;
     _logger                 = logger;
     _twitterObserver        = twitterObserver;
     _unitOfWork             = unitOfWork;
     _twitterStatusFormatter = twitterStatusFormatter;
     _timeService            = timeService;
 }
Beispiel #7
0
        protected TwitchBaseClient(
            IFactory <ChatMessage, IReceived <IUser, ITransmittable> > twitchChatMessageParser,
            IPrivateConstants privateConstants,
            IPipelineManager pipelineManager,
            ITimeService timeService,
            ISettings settings,
            ILogger logger
            ) : base(logger, settings, timeService, pipelineManager)
        {
            _twitchChatMessageParser = twitchChatMessageParser;
            _privateConstants        = privateConstants;
            _timeService             = timeService;
            _logger = logger;

            pipelineManager.SetSender(Send);
            _constructClient();
        }