public BlogPostList(IPostListCore postListCore = null) { PostListCore = postListCore ?? new PostListCore(CurrentBlog); }
public PostList(IPostListCore postListCore) { PostListCore = postListCore ?? new PostListCore(CurrentBlog); }
public PostList(IPostListCore postListCore, ICommentManager commentManager) { PostListCore = postListCore ?? new PostListCore(CurrentBlog, null, null, null, null); CommentManager = commentManager ?? ServiceLocator.ServiceProvider.GetRequiredService <ICommentManager>(); }