public BlogViewModel(IHtmlProcessor htmlProcessor) { ProjectSettings = new ProjectSettings(); Paging = new PaginationSettings(); Categories = new Dictionary <string, int>(); Archives = new Dictionary <string, int>(); filter = htmlProcessor; BlogRoutes = new DefaultBlogRoutes(); }
public BlogViewModel(IContentProcessor contentProcessor) { _contentProcessor = contentProcessor; ProjectSettings = new ProjectSettings(); Paging = new PaginationSettings(); Categories = new Dictionary <string, int>(); Archives = new Dictionary <string, int>(); BlogRoutes = new DefaultBlogRoutes(); }
public BlogViewModel() { ProjectSettings = new ProjectSettings(); Paging = new PaginationSettings(); Categories = new Dictionary <string, int>(); Archives = new Dictionary <string, int>(); filter = new HtmlProcessor(); cryptoHelper = new CryptoHelper(); EditorSettings = new EditorModel(); BlogRoutes = new DefaultBlogRoutes(); }