예제 #1
0
 public TwitterPush(LoggerFactory loggerFactory, IFileService fileService, ITwitterSettings settings)
 {
     logger            = loggerFactory(nameof(TwitterPush));
     this.fileService  = fileService;
     this.settings     = settings;
     lastDataDirectory = Path.Combine(Path.GetDirectoryName(typeof(AirQualityProcessor).Assembly.Location), "LastData");
 }
예제 #2
0
 public TwitterBroadcaster(ITwitterSettings settings, ILogger logger)
 {
     this.logger = logger;
     this.settings = settings;
 }
예제 #3
0
 public TwitterBroadcaster(ITwitterSettings settings, ILogger logger)
 {
     this.logger   = logger;
     this.settings = settings;
 }