TastyScope.

RegisterCommand(string, Func<RuntimeContext, Task>, string?, bool) Method

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<RuntimeContext, Task>
description string?
isDefault bool

Return Value

Type Description
TastyScope