public Program(ProgramArguments args, ILogger logger, IArticleReader reader, IArticleRenderer renderer, IDeCorrespondentResources decorrespondent, ILastDatasource lastDs, IEReaderSender kindle, INotificationSender summarySender, int maxAantalArticles) { this.args = args; this.logger = logger; this.reader = reader; this.renderer = renderer; this.decorrespondent = decorrespondent; this.lastDs = lastDs; this.kindle = kindle; this.summarySender = summarySender; this.maxAantalArticles = maxAantalArticles; }
public ArticleService(BlogContext context, IArticleRenderer renderer) { _context = context; _renderer = renderer; }
public ProgramWrapper(LogWrapper logger, WrappedResources resources, IArticleReader articleReader, IArticleRenderer articleRenderer, IDeCorrespondentResources reader, IEReaderSender sender, INotificationSender summarySender, DateTime? last) { this.logger = logger; wrappedResources = resources; LastDs = new MemoryLastDatasource(last); Program = new DeCorrespondent.Program(new DeCorrespondent.Program.ProgramArguments(true), logger, articleReader, articleRenderer, reader, LastDs, sender, summarySender, 20); }