AppService.Get Method
- Namespace:
- Weavy.Core.Services
- Assembly:
- Weavy.Core.dll
Overloads
Get(int, bool, bool) | Get the specified App. |
Get |
Get the specified App. |
Get(int, bool, bool)
Get the specified App.
public static App Get(int id, bool sudo = false, bool trashed = false)
Parameters
- id
- int
- sudo
- bool
true
to perform action as super user, otherwise false
.
- trashed
- bool
true
to return app even if trashed, otherwise false
.
Returns
Get(int, bool, bool)
Get the specified App.
public static T Get<T>(int id, bool sudo = false, bool trashed = false)
where T : App
Parameters
- id
- int
Id of the app.
- sudo
- bool
true
to perform action as super user, otherwise false
.
- trashed
- bool
true
to return app even if trashed, otherwise false
.
Returns
An object of type T
.