Compartilhar via


EventCallback<TValue>(IHandleEvent, MulticastDelegate) Construtor

Definição

Cria o novo 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)

Parâmetros

receiver
IHandleEvent

O receptor do evento.

delegate
MulticastDelegate

O delegado a ser associado.

Aplica-se a