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; }
public PostProvider(IPostParser postParser, IRootPathProvider rootPathProvider) { postCache = new Dictionary <string, Post>(); this.postParser = postParser; this.rootPathProvider = rootPathProvider; }