ContentService.GetChildren Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Overloads

GetChildren(Int32, Boolean) Get child items of the specified content item.
GetChildren(Int32, Boolean) Get child items of the specified content item.

GetChildren(Int32, Boolean)

Get child items of the specified content item.

public static IEnumerable GetChildren(int id, bool filter = true)

Parameters

id
System.Int32
filter
System.Boolean

Returns

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

Returns a list of objects implementing the interface.

GetChildren(Int32, Boolean)

Get child items of the specified content item.

public static IEnumerable GetChildren(int id, bool filter = true)
    where T : Content

Parameters

id
System.Int32
filter
System.Boolean

Returns

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

Returns a list of content items of type T.