AppService.Trash Method

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

Trash(int, bool)

Sends an app (and its contents) to the trash.

public static App Trash(int id, bool sudo = false)

Parameters

id
int

Id of the app to trash.

sudo
bool

true to perform action as super user, otherwise false.

Returns

App

The trashed app.