Delegate RpcTargetMetadata.CreateEventHandlerDelegate
- Namespace
- StreamJsonRpc
- Assembly
- StreamJsonRpc.dll
Represents a method that creates a delegate to handle a specified JSON-RPC event.
public delegate Delegate RpcTargetMetadata.CreateEventHandlerDelegate(JsonRpc rpc, string eventName)
Parameters
rpc
JsonRpcThe JSON-RPC connection for which the event handler delegate is being created. Cannot be null.
eventName
stringThe name of the event for which to create the handler delegate. Cannot be null or empty.
Returns
- Delegate
A delegate instance that handles the specified event for the given JSON-RPC connection.