ParameterBinder

interface ParameterBinder

监听函数动态参数的绑定器。通过所需的执行参数而得到的参数绑定器。

对于一个可执行函数的参数 KParameter 所需的结果获取器。

Types

Link copied to clipboard
object Ignore

arg 的返回值中所使用的标记类型,当 arg 的返回值为 Ignore 的时候, 则代表忽略此参数的使用。通常用在可选参数中。

Functions

Link copied to clipboard
abstract suspend fun arg(context: EventListenerProcessingContext): Result<Any?>

根据当前事件处理上下文得到参数值。

Inheritors

Link copied to clipboard