ComponentHostCallback Delegate

The steps of a function of the host: the arguments are converted to the result (null for a function without result), or an exception is thrown, which aborts the call of the component.

public delegate ComponentValue? ComponentHostCallback(ComponentCallContext context, ReadOnlySpan<ComponentValue> arguments)

Parameters

context ComponentCallContext
The call: the type of the function and the store.
arguments ReadOnlySpan<ComponentValue>
The arguments: one per parameter of the type of the function.