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
contextComponentCallContext- The call: the type of the function and the store.
argumentsReadOnlySpan<ComponentValue>- The arguments: one per parameter of the type of the function.