C# 클래스 Microsoft.DocAsCode.Build.Engine.TemplateProcessor

상속: IDisposable
파일 보기 프로젝트 열기: dotnet/docfx 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultProcessor TemplateProcessor

공개 메소드들

메소드 설명
Dispose ( ) : void
GetTemplateBundle ( string documentType ) : TemplateBundle
TemplateProcessor ( ResourceCollection resourceProvider, DocumentBuildContext context, int maxParallelism ) : System

TemplateName can be either file or folder 1. If TemplateName is file, it is considered as the default template 2. If TemplateName is a folder, files inside the folder is considered as the template, each file is named after {DocumentType}.{extension}

TryGetFileExtension ( string documentType, string &fileExtension ) : bool

비공개 메소드들

메소드 설명
LoadTokenJson ( ResourceCollection resource ) : string>.IDictionary
Process ( List manifest, DocumentBuildContext context, ApplyTemplateSettings settings, object>.IDictionary globals = null ) : List
ProcessCore ( List items, DocumentBuildContext context, ApplyTemplateSettings settings, object>.IDictionary globals ) : List
ProcessDependencies ( string outputDirectory, IEnumerable templateBundles ) : void
ProcessSingleDependency ( Stream stream, string outputDirectory, string filePath ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetTemplateBundle() 공개 메소드

public GetTemplateBundle ( string documentType ) : TemplateBundle
documentType string
리턴 TemplateBundle

TemplateProcessor() 공개 메소드

TemplateName can be either file or folder 1. If TemplateName is file, it is considered as the default template 2. If TemplateName is a folder, files inside the folder is considered as the template, each file is named after {DocumentType}.{extension}
public TemplateProcessor ( ResourceCollection resourceProvider, DocumentBuildContext context, int maxParallelism ) : System
resourceProvider ResourceCollection
context DocumentBuildContext
maxParallelism int
리턴 System

TryGetFileExtension() 공개 메소드

public TryGetFileExtension ( string documentType, string &fileExtension ) : bool
documentType string
fileExtension string
리턴 bool

프로퍼티 상세

DefaultProcessor 공개적으로 정적으로 프로퍼티

public static TemplateProcessor,Microsoft.DocAsCode.Build.Engine DefaultProcessor
리턴 TemplateProcessor