ContentService.GetRoots Method

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

Overloads

GetRoots(Int32, Boolean) Get content in the root of the specified app.
GetRoots(Int32, Boolean) Get content of the specified T in the root of specified app.

GetRoots(Int32, Boolean)

Get content in the root of the specified app.

public static IEnumerable GetRoots(int appId, bool filter = true)

Parameters

appId
System.Int32
filter
System.Boolean

Returns

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

Returns a list of objects.

GetRoots(Int32, Boolean)

Get content of the specified T in the root of specified app.

public static IEnumerable GetRoots(int appId, bool filter = true)
    where T : Content

Parameters

appId
System.Int32
filter
System.Boolean

Returns

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

Returns a list of objects.