C# Class Microsoft.DocAsCode.Build.Engine.TemplateManager

Afficher le fichier Open project: dotnet/docfx Class Usage Examples

Méthodes publiques

Méthode Description
GetTemplateProcessor ( DocumentBuildContext context, int maxParallelism ) : TemplateProcessor
GetTemplatesHash ( ) : string
ProcessTheme ( string outputDirectory, bool overwrite ) : void
TemplateManager ( Assembly assembly, string rootNamespace, List templates, List themes, string baseDirectory ) : System
TryExportTemplateFiles ( string outputDirectory, string regexFilter = null ) : bool

Private Methods

Méthode Description
Copy ( Action streamHandler, string filePath, bool overwrite ) : void
CopyResource ( Stream stream, string filePath, bool overwrite ) : void
CreateTemplateResource ( IEnumerable resources ) : CompositeResourceCollectionWithOverridden
TryExportResourceFiles ( IEnumerable resourceNames, string outputDirectory, bool overwrite, string regexFilter = null ) : bool

Method Details

GetTemplateProcessor() public méthode

public GetTemplateProcessor ( DocumentBuildContext context, int maxParallelism ) : TemplateProcessor
context DocumentBuildContext
maxParallelism int
Résultat TemplateProcessor

GetTemplatesHash() public méthode

public GetTemplatesHash ( ) : string
Résultat string

ProcessTheme() public méthode

public ProcessTheme ( string outputDirectory, bool overwrite ) : void
outputDirectory string
overwrite bool
Résultat void

TemplateManager() public méthode

public TemplateManager ( Assembly assembly, string rootNamespace, List templates, List themes, string baseDirectory ) : System
assembly System.Reflection.Assembly
rootNamespace string
templates List
themes List
baseDirectory string
Résultat System

TryExportTemplateFiles() public méthode

public TryExportTemplateFiles ( string outputDirectory, string regexFilter = null ) : bool
outputDirectory string
regexFilter string
Résultat bool