Partager via


EventCallback<TValue>(IHandleEvent, MulticastDelegate) Constructeur

Définition

Crée le nouveau 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)

Paramètres

receiver
IHandleEvent

Récepteur d’événements.

delegate
MulticastDelegate

Délégué à lier.

S’applique à