C# Class Microsoft.DocAsCode.Build.TableOfContents.Utility

Exibir arquivo Open project: dotnet/docfx

Public Methods

Method Description
GetHrefType ( string href ) : HrefType
GetTocFileType ( string filePath ) : TocFileType
IsSupportedFile ( string file ) : bool
IsSupportedRelativeHref ( HrefType hrefType ) : bool
IsSupportedRelativeHref ( string href ) : bool
LoadSingleToc ( string file ) : TocViewModel

Method Details

GetHrefType() public static method

public static GetHrefType ( string href ) : HrefType
href string
return HrefType

GetTocFileType() public static method

public static GetTocFileType ( string filePath ) : TocFileType
filePath string
return TocFileType

IsSupportedFile() public static method

public static IsSupportedFile ( string file ) : bool
file string
return bool

IsSupportedRelativeHref() public static method

public static IsSupportedRelativeHref ( HrefType hrefType ) : bool
hrefType HrefType
return bool

IsSupportedRelativeHref() public static method

public static IsSupportedRelativeHref ( string href ) : bool
href string
return bool

LoadSingleToc() public static method

public static LoadSingleToc ( string file ) : TocViewModel
file string
return TocViewModel