Поделиться через


EventCallback<TValue>(IHandleEvent, MulticastDelegate) Конструктор

Определение

Создает новый 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)

Параметры

receiver
IHandleEvent

Приемник событий.

delegate
MulticastDelegate

Делегат для привязки.

Применяется к