EventCallbackFactoryEventArgsExtensions.Create Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
Create(EventCallbackFactory, Object, Action<ChangeEventArgs>) |
Cria um EventCallback para os fornecidos |
Create(EventCallbackFactory, Object, Action<EventArgs>) |
Cria um EventCallback para os fornecidos |
Create(EventCallbackFactory, Object, Func<ChangeEventArgs,Task>) |
Cria um EventCallback para os fornecidos |
Create(EventCallbackFactory, Object, Func<EventArgs,Task>) |
Cria um EventCallback para os fornecidos |
Create(EventCallbackFactory, Object, Action<ChangeEventArgs>)
Cria um EventCallback para os fornecidos receiver
e 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)
Parâmetros
- factory
- EventCallbackFactory
- receiver
- Object
O receptor do evento.
- callback
- Action<ChangeEventArgs>
O retorno de chamada do evento.
Retornos
Aplica-se a
Create(EventCallbackFactory, Object, Action<EventArgs>)
Cria um EventCallback para os fornecidos receiver
e 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)
Parâmetros
- factory
- EventCallbackFactory
- receiver
- Object
O receptor do evento.
Retornos
Aplica-se a
Create(EventCallbackFactory, Object, Func<ChangeEventArgs,Task>)
Cria um EventCallback para os fornecidos receiver
e 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)
Parâmetros
- factory
- EventCallbackFactory
- receiver
- Object
O receptor do evento.
- callback
- Func<ChangeEventArgs,Task>
O retorno de chamada do evento.
Retornos
Aplica-se a
Create(EventCallbackFactory, Object, Func<EventArgs,Task>)
Cria um EventCallback para os fornecidos receiver
e 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)
Parâmetros
- factory
- EventCallbackFactory
- receiver
- Object
O receptor do evento.