GetDescendantsOf<TDocument>(IDocumentTree<TDocument>, TDocument) Method
Namespace
Statiq.Common
Containing Type
IDocumentTreeExtensions

Syntax

public static DocumentList<TDocument> GetDescendantsOf<TDocument>(this IDocumentTree<TDocument> tree, TDocument document) 
    where TDocument : IDocument

Type Parameters

Name Description
TDocument

Parameters

Name Type Description
tree IDocumentTree<TDocument>
document TDocument

Return Value

Type Description
DocumentList<TDocument>