- Namespace
- Statiq
.Common - Containing Type
- I
Document Enumerable Extensions
Syntax
public static DocumentMetadataTree<TDocument> AsMetadataTree<TDocument>(this IEnumerable<TDocument> documents, string childrenKey = "Children")
where TDocument : IDocument
Type Parameters
Name | Description |
---|---|
TDocument |
Parameters
Name | Type | Description |
---|---|---|
documents | IEnumerable |
|
childrenKey | string |
Return Value
Type | Description |
---|---|
DocumentMetadataTree |