Share via


EventCallback<TValue>(IHandleEvent, MulticastDelegate) Constructor

Definition

Creates the new EventCallback<TValue>.

public:
 EventCallback(Microsoft::AspNetCore::Components::IHandleEvent ^ receiver, MulticastDelegate ^ delegate);
public EventCallback (Microsoft.AspNetCore.Components.IHandleEvent receiver, MulticastDelegate delegate);
public EventCallback (Microsoft.AspNetCore.Components.IHandleEvent? receiver, MulticastDelegate? delegate);
new Microsoft.AspNetCore.Components.EventCallback<'Value> : Microsoft.AspNetCore.Components.IHandleEvent * MulticastDelegate -> Microsoft.AspNetCore.Components.EventCallback<'Value>
Public Sub New (receiver As IHandleEvent, delegate As MulticastDelegate)

Parameters

receiver
IHandleEvent

The event receiver.

delegate
MulticastDelegate

The delegate to bind.

Applies to