C# 클래스 Microsoft.DocAsCode.Build.TableOfContents.TocResolver

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

공개 메소드들

메소드 설명
Resolve ( string file ) : TocItemInfo
TocResolver ( IHostService host, TocItemInfo>.Dictionary collection ) : System

비공개 메소드들

메소드 설명
GetDefaultHomepageItem ( TocItemViewModel toc ) : TocItemViewModel
IsValidHomepageLink ( TocItemViewModel tocItem ) : bool

Valid homepage href should: 1. relative file path 2. refer to a file 3. folder is not supported 4. refer to an `uid`

NormalizeHref ( string href, Microsoft.DocAsCode.Common.RelativePath relativeToFile ) : string
ResolveItem ( TocItemInfo wrapper, Stack stack ) : TocItemInfo
ResolveItemCore ( TocItemInfo wrapper, Stack stack ) : TocItemInfo

메소드 상세

Resolve() 공개 메소드

public Resolve ( string file ) : TocItemInfo
file string
리턴 TocItemInfo

TocResolver() 공개 메소드

public TocResolver ( IHostService host, TocItemInfo>.Dictionary collection ) : System
host IHostService
collection TocItemInfo>.Dictionary
리턴 System