public MarkdownBaseController(IConfig config, IMarkdownToHtml markdownToHtml, IContentRepository contentRepo, GitHelper gitHelper, IPathHelper pathHelper ) { if (config == null) { throw new ArgumentNullException("config"); } if (markdownToHtml == null) { throw new ArgumentNullException("markdownToHtml"); } if (contentRepo == null) { throw new ArgumentNullException("contentRepo"); } this.Config = config; this.MarkdownToHtml = markdownToHtml; this.ContentRepo = contentRepo; this.PathHelper = pathHelper; this.GitHelper = gitHelper; }
public MarkdownBaseController(IConfig config, IMarkdownToHtml markdownToHtml, IContentRepository contentRepo, GitHelper gitHelper, IPathHelper pathHelper ) { if (config == null) { throw new ArgumentNullException("config"); } if (markdownToHtml == null) { throw new ArgumentNullException("markdownToHtml"); } if (contentRepo == null) { throw new ArgumentNullException("contentRepo"); } this.Config = config; this.MarkdownToHtml = markdownToHtml; this.ContentRepo = contentRepo; this.PathHelper = pathHelper; this.GitHelper = gitHelper; }
public MarkdownController(IConfig config, IMarkdownToHtml markdownToHtml, IContentRepository contentRepo, GitHelper gitHelper, IPathHelper pathHelper) : base(config, markdownToHtml, contentRepo, gitHelper, pathHelper) { }
public MarkdownController(IConfig config, IMarkdownToHtml markdownToHtml, IContentRepository contentRepo, GitHelper gitHelper, IPathHelper pathHelper) : base(config, markdownToHtml, contentRepo, gitHelper, pathHelper) { }