ContentRepo.GetDescendants Method

Namespace:
Weavy.Core.Repos
Assembly:
Weavy.Core.dll

GetDescendants(Int32, Nullable)

Returns the descendants of a content item. The apps are sorted like a tree.

public static IEnumerable GetDescendants(int id, int? depth)

Parameters

id
System.Int32
depth
System.Nullable{System.Int32}

Returns

System.Collections.Generic.IEnumerable{Weavy.Core.Models.Content}

Returns a list of objects.