public Manifest Build(DocumentBuildParameters parameters) { using (var builder = new SingleDocumentBuilder { Container = _container, IntermediateFolder = IntermediateFolder, MetadataValidators = MetadataValidators, Processors = Processors }) { return(builder.Build(parameters)); } }
internal Manifest BuildCore(DocumentBuildParameters parameter, IMarkdownServiceProvider markdownServiceProvider, BuildInfo currentBuildInfo, BuildInfo lastBuildInfo) { using var builder = new SingleDocumentBuilder { CurrentBuildInfo = currentBuildInfo, LastBuildInfo = lastBuildInfo, IntermediateFolder = _intermediateFolder, MetadataValidators = MetadataValidators.Concat(GetMetadataRules(parameter)).ToList(), Processors = Processors, MarkdownServiceProvider = markdownServiceProvider, }; return(builder.Build(parameter)); }
internal Manifest BuildCore(DocumentBuildParameters parameter) { using (var builder = new SingleDocumentBuilder { Container = _container, CurrentBuildInfo = _currentBuildInfo, LastBuildInfo = _lastBuildInfo, IntermediateFolder = _intermediateFolder, MetadataValidators = MetadataValidators.Concat(GetMetadataRules(parameter)).ToList(), Processors = Processors, }) { return(builder.Build(parameter)); } }
internal Manifest BuildCore(DocumentBuildParameters parameter) { using (var builder = new SingleDocumentBuilder { Container = _container, CurrentBuildInfo = _currentBuildInfo, LastBuildInfo = _lastBuildInfo, IntermediateFolder = _intermediateFolder, MetadataValidators = MetadataValidators.Concat(GetMetadataRules(parameter)).ToList(), Processors = Processors, }) { return builder.Build(parameter); } }