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

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

공개 메소드들

메소드 설명
Generate ( InternalManifestItem item ) : SystemMetadata
SystemMetadataGenerator ( IDocumentBuildContext context ) : System

비공개 메소드들

메소드 설명
GetDefaultToc ( string fileKey ) : FileInfo
GetFileKey ( string key ) : string
GetNearestToc ( IEnumerable tocFiles, Microsoft.DocAsCode.Common.RelativePath file ) : FileInfo

return the nearest toc relative to the current file "near" means less subdirectory count when subdirectory counts are same, "near" means less parent directory count e.g. "../../a/TOC.md" is nearer than "b/c/TOC.md"

메소드 상세

Generate() 공개 메소드

public Generate ( InternalManifestItem item ) : SystemMetadata
item InternalManifestItem
리턴 SystemMetadata

SystemMetadataGenerator() 공개 메소드

public SystemMetadataGenerator ( IDocumentBuildContext context ) : System
context IDocumentBuildContext
리턴 System