コード例 #1
0
ファイル: DocumentBuilder.cs プロジェクト: wanyi01/docfx
 public Manifest Build(DocumentBuildParameters parameters)
 {
     using (var builder = new SingleDocumentBuilder
     {
         Container = _container,
         IntermediateFolder = IntermediateFolder,
         MetadataValidators = MetadataValidators,
         Processors = Processors
     })
     {
         return(builder.Build(parameters));
     }
 }
コード例 #2
0
ファイル: DocumentBuilder.cs プロジェクト: yunair/docfx
 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));
 }
コード例 #3
0
 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));
     }
 }
コード例 #4
0
ファイル: DocumentBuilder.cs プロジェクト: dotnet/docfx
 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);
     }
 }