Class DfmContextExtensions
Inheritance
DfmContextExtensions
Namespace:Microsoft.DocAsCode.Dfm
Assembly:Microsoft.DocAsCode.Dfm.dll
Syntax
public static class DfmContextExtensions
Methods
GetBaseFolder(IMarkdownContext)
Declaration
public static string GetBaseFolder(this IMarkdownContext context)
Parameters
Returns
GetFallbackFolders(IMarkdownContext)
Declaration
public static IReadOnlyList<string> GetFallbackFolders(this IMarkdownContext context)
Parameters
Returns
GetFilePathStack(IMarkdownContext)
Declaration
public static ImmutableStack<string> GetFilePathStack(this IMarkdownContext context)
Parameters
Returns
Type |
Description |
System.Collections.Immutable.ImmutableStack<String> |
|
GetIsInclude(IMarkdownContext)
Declaration
public static bool GetIsInclude(this IMarkdownContext context)
Parameters
Returns
ReportDependency(IMarkdownContext, IEnumerable<String>)
Declaration
public static void ReportDependency(this IMarkdownContext context, IEnumerable<string> files)
Parameters
ReportDependency(IMarkdownContext, String)
Declaration
public static void ReportDependency(this IMarkdownContext context, string file)
Parameters
SetBaseFolder(IMarkdownContext, String)
Declaration
public static IMarkdownContext SetBaseFolder(this IMarkdownContext context, string baseFolder)
Parameters
Returns
SetDependency(IMarkdownContext, HashSet<String>)
Declaration
public static IMarkdownContext SetDependency(this IMarkdownContext context, HashSet<string> dependency)
Parameters
Returns
SetFallbackFolders(IMarkdownContext, IReadOnlyList<String>)
Declaration
public static IMarkdownContext SetFallbackFolders(this IMarkdownContext context, IReadOnlyList<string> fallbackFolders)
Parameters
Returns
SetFilePathStack(IMarkdownContext, ImmutableStack<String>)
Declaration
public static IMarkdownContext SetFilePathStack(this IMarkdownContext context, ImmutableStack<string> filePathStack)
Parameters
Type |
Name |
Description |
IMarkdownContext |
context |
|
System.Collections.Immutable.ImmutableStack<String> |
filePathStack |
|
Returns
SetIsInclude(IMarkdownContext)
Declaration
public static IMarkdownContext SetIsInclude(this IMarkdownContext context)
Parameters
Returns