コード例 #1
0
 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;
 }
コード例 #2
0
ファイル: ArticleService.cs プロジェクト: ZeekoZhu/ZeekoBlog
 public ArticleService(BlogContext context, IArticleRenderer renderer)
 {
     _context  = context;
     _renderer = renderer;
 }
コード例 #3
0
 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);
 }