Share via


IHookableServiceJsonRpcDescriptor.CreateJsonRpcDelegate Delegate

Definition

Delegate to be used for CreateJsonRpc hook.

public delegate StreamJsonRpc.JsonRpc? IHookableServiceJsonRpcDescriptor.CreateJsonRpcDelegate(IJsonRpcMessageHandler handler);
type IHookableServiceJsonRpcDescriptor.CreateJsonRpcDelegate = delegate of IJsonRpcMessageHandler -> JsonRpc
Public Delegate Function IHookableServiceJsonRpcDescriptor.CreateJsonRpcDelegate(handler As IJsonRpcMessageHandler) As JsonRpc 

Parameters

handler
IJsonRpcMessageHandler

Handler to be utilized when creating JsonRpc instance.

Return Value

a new instance of JsonRpc or null if default implementation should be used.

Applies to