C# Class Microsoft.DocAsCode.Dfm.DfmContextExtensions

Datei anzeigen Open project: dotnet/docfx

Public Methods

Method Description
GetBaseFolder ( this context ) : string
GetFallbackFolders ( this context ) : IReadOnlyList
GetFilePathStack ( this context ) : ImmutableStack
GetIsInclude ( this context ) : bool
ReportDependency ( this context, IEnumerable files ) : void
ReportDependency ( this context, string file ) : void
SetBaseFolder ( this context, string baseFolder ) : IMarkdownContext
SetDependency ( this context, HashSet dependency ) : IMarkdownContext
SetFallbackFolders ( this context, IReadOnlyList fallbackFolders ) : IMarkdownContext
SetFilePathStack ( this context, ImmutableStack filePathStack ) : IMarkdownContext
SetIsInclude ( this context ) : IMarkdownContext

Method Details

GetBaseFolder() public static method

public static GetBaseFolder ( this context ) : string
context this
return string

GetFallbackFolders() public static method

public static GetFallbackFolders ( this context ) : IReadOnlyList
context this
return IReadOnlyList

GetFilePathStack() public static method

public static GetFilePathStack ( this context ) : ImmutableStack
context this
return ImmutableStack

GetIsInclude() public static method

public static GetIsInclude ( this context ) : bool
context this
return bool

ReportDependency() public static method

public static ReportDependency ( this context, IEnumerable files ) : void
context this
files IEnumerable
return void

ReportDependency() public static method

public static ReportDependency ( this context, string file ) : void
context this
file string
return void

SetBaseFolder() public static method

public static SetBaseFolder ( this context, string baseFolder ) : IMarkdownContext
context this
baseFolder string
return IMarkdownContext

SetDependency() public static method

public static SetDependency ( this context, HashSet dependency ) : IMarkdownContext
context this
dependency HashSet
return IMarkdownContext

SetFallbackFolders() public static method

public static SetFallbackFolders ( this context, IReadOnlyList fallbackFolders ) : IMarkdownContext
context this
fallbackFolders IReadOnlyList
return IMarkdownContext

SetFilePathStack() public static method

public static SetFilePathStack ( this context, ImmutableStack filePathStack ) : IMarkdownContext
context this
filePathStack ImmutableStack
return IMarkdownContext

SetIsInclude() public static method

public static SetIsInclude ( this context ) : IMarkdownContext
context this
return IMarkdownContext