TryGetXrefLink(IExecutionContext, string, bool, IDictionary<string, ICollection<(string PipelineName, IDocument Document)>>, string) Method
Namespace
Statiq.Web
Containing Type
IExecutionContextXrefExtensions

Syntax

public static bool TryGetXrefLink(this IExecutionContext context, string xref, bool includeHost, IDictionary<string, ICollection<(string PipelineName, IDocument Document)>> xrefMappings, out string link)

Parameters

Name Type Description
context IExecutionContext
xref string
includeHost bool
xrefMappings IDictionary<string, ICollection<(string PipelineName, IDocument Document)>>
link string

Return Value

Type Description
bool