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"); }
public TwitterBroadcaster(ITwitterSettings settings, ILogger logger) { this.logger = logger; this.settings = settings; }