Table of Contents

Delegate ExecuteCallback

Namespace
HeyBox.Interactions
Assembly
HeyBox.Net.Interactions.dll

表示缓存的方法执行委托。

public delegate Task ExecuteCallback(IInteractionContext context, object?[] args, IServiceProvider? serviceProvider, ICommandInfo commandInfo)

Parameters

context IInteractionContext

注入到模块类的执行上下文。

args object[]

方法参数数组。

serviceProvider IServiceProvider

用于初始化模块的服务集合。

commandInfo ICommandInfo

被执行方法的命令信息类。

Returns

Task

表示执行操作的任务。