ContentService.Move Method

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

Overloads

Move(T, App, bool) Moves an Content item (and its descendants) to the root of the specified app.
Move(T, Content, bool) Moves an Content item and its descendants to the specified parent item.

Move(T, App, bool)

Moves an Content item (and its descendants) to the root of the specified app.

public static T Move<T>(T content, App app, bool auth = true)

    where T : Content

Parameters

content

The content to move.

app
App

The destination app.

auth
bool

Returns

Move(T, Content, bool)

Moves an Content item and its descendants to the specified parent item.

public static T Move<T>(T content, Content parent, bool auth = true)

    where T : Content

Parameters

content

The content to move.

parent
Content

The new parent item.

auth
bool

Returns

The moved item.