public FileSystemOutputHandler( CommandLineOptions commandLineOptions, IFileSystem fileSystem, IContext <Post, Tag, Page> context, ITemplateHandler templateHandler, IContentParser contentParser, IOptions <SiteConfig> siteConfig, ISourceHandler sourceHandler, ISlugHelper slugHelper) { (this.commandLineOptions, this.fileSystem, this.context, this.templateHandler, this.contentParser, this.siteConfig, this.sourceHandler, this.slugHelper) = (commandLineOptions, fileSystem, context, templateHandler, contentParser, siteConfig.Value, sourceHandler, slugHelper); this.site = new { config = this.siteConfig, tags = this.context.Tags.OrderBy(t => t.Name), pages = this.context.Pages }; }
public SlugGenerator() { _slugHelper = new SlugHelper(); }
public EmbedService(DbService dbService, ISlugHelper slugHelper) { _dbService = dbService; _slugHelper = slugHelper; }
public AbstractFileSystemInstanceProvider(DirectoryInfo baseDir, ILogger logger) { _slug = new SlugHelper(new SlugHelper.Config()); _baseDirectory = baseDir; _logger = logger; }