Exemplo n.º 1
0
 public XLinqRepository(
     ILogger <XLinqRepository> logger,
     IBadgeParser badgeParser,
     ICommentParser commentParser,
     IPostHistoryParser postHistoryParser,
     IPostParser postParser,
     ITagParser tagParser,
     IUserParser userParser,
     IVoteParser voteParser)
 {
     this.logger            = logger;
     this.badgeParser       = badgeParser;
     this.commentParser     = commentParser;
     this.postHistoryParser = postHistoryParser;
     this.postParser        = postParser;
     this.tagParser         = tagParser;
     this.userParser        = userParser;
     this.voteParser        = voteParser;
 }
Exemplo n.º 2
0
 public PostProvider(IPostParser postParser, IRootPathProvider rootPathProvider)
 {
     postCache             = new Dictionary <string, Post>();
     this.postParser       = postParser;
     this.rootPathProvider = rootPathProvider;
 }