EventCallbackFactoryEventArgsExtensions.Create Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
Create(EventCallbackFactory, Object, Action<ChangeEventArgs>) |
Crée un EventCallback pour le fourni |
Create(EventCallbackFactory, Object, Action<EventArgs>) |
Crée un EventCallback pour le fourni |
Create(EventCallbackFactory, Object, Func<ChangeEventArgs,Task>) |
Crée un EventCallback pour le fourni |
Create(EventCallbackFactory, Object, Func<EventArgs,Task>) |
Crée un EventCallback pour le fourni |
Create(EventCallbackFactory, Object, Action<ChangeEventArgs>)
Crée un EventCallback pour le fourni receiver
et callback
.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::ChangeEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Action<Microsoft::AspNetCore::Components::ChangeEventArgs ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.ChangeEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.ChangeEventArgs> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.ChangeEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.ChangeEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Action(Of ChangeEventArgs)) As EventCallback(Of ChangeEventArgs)
Paramètres
- factory
- EventCallbackFactory
L’EventCallbackFactoryopérateur
- receiver
- Object
Récepteur d’événements.
- callback
- Action<ChangeEventArgs>
Rappel d’événement.
Retours
L’EventCallbackopérateur
S’applique à
Create(EventCallbackFactory, Object, Action<EventArgs>)
Crée un EventCallback pour le fourni receiver
et callback
.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Components::EventCallback<EventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Action<EventArgs ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<EventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<EventArgs> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<EventArgs> -> Microsoft.AspNetCore.Components.EventCallback<EventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Action(Of EventArgs)) As EventCallback(Of EventArgs)
Paramètres
- factory
- EventCallbackFactory
L’EventCallbackFactoryopérateur
- receiver
- Object
Récepteur d’événements.
Retours
L’EventCallbackopérateur
S’applique à
Create(EventCallbackFactory, Object, Func<ChangeEventArgs,Task>)
Crée un EventCallback pour le fourni receiver
et callback
.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::ChangeEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Func<Microsoft::AspNetCore::Components::ChangeEventArgs ^, System::Threading::Tasks::Task ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.ChangeEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.ChangeEventArgs,System.Threading.Tasks.Task> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.ChangeEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.ChangeEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Func(Of ChangeEventArgs, Task)) As EventCallback(Of ChangeEventArgs)
Paramètres
- factory
- EventCallbackFactory
L’EventCallbackFactoryopérateur
- receiver
- Object
Récepteur d’événements.
- callback
- Func<ChangeEventArgs,Task>
Rappel d’événement.
Retours
L’EventCallbackopérateur
S’applique à
Create(EventCallbackFactory, Object, Func<EventArgs,Task>)
Crée un EventCallback pour le fourni receiver
et callback
.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Components::EventCallback<EventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Func<EventArgs ^, System::Threading::Tasks::Task ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<EventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<EventArgs,System.Threading.Tasks.Task> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<EventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<EventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Func(Of EventArgs, Task)) As EventCallback(Of EventArgs)
Paramètres
- factory
- EventCallbackFactory
L’EventCallbackFactoryopérateur
- receiver
- Object
Récepteur d’événements.
Retours
L’EventCallbackopérateur