ContentService.GetDescendants Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
GetDescendants(Int32, Nullable, Boolean)
Returns (a flat list) of descendants for a content item. The items are sorted like a tree.
public static IEnumerable GetDescendants(int id, int? depth = default(int? ), bool filter = true)
Parameters
- id
- System.Int32
- depth
- System.Nullable{System.Int32}
- filter
- System.Boolean
Returns
System.Collections.Generic.IEnumerable{Weavy.Core.Models.Content}
Returns a tree-sorted list of