- Namespace
- Xenial
.Delicious .Scopes - Containing Type
- TastyScope
Syntax
public TastyScope RegisterCommand(string name, Func<RuntimeContext, Task> command, string? description = null, bool isDefault = false)
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | |
| command | Func |
|
| description | string? | |
| isDefault | bool |
Return Value
| Type | Description |
|---|---|
| TastyScope |