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

Syntax

public static bool TryGetXrefDocument(this IExecutionContext context, string xref, IDictionary<string, ICollection<(string PipelineName, IDocument Document)>> xrefMappings, out IDocument document, out string error)

Parameters

Name Type Description
context IExecutionContext
xref string
xrefMappings IDictionary<string, ICollection<(string PipelineName, IDocument Document)>>
document IDocument
error string

Return Value

Type Description
bool