EventCallbackFactoryEventArgsExtensions.Create Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
Create(EventCallbackFactory, Object, Action<ChangeEventArgs>) |
Crea un EventCallback para los proporcionados |
Create(EventCallbackFactory, Object, Action<EventArgs>) |
Crea un EventCallback para los proporcionados |
Create(EventCallbackFactory, Object, Func<ChangeEventArgs,Task>) |
Crea un EventCallback para los proporcionados |
Create(EventCallbackFactory, Object, Func<EventArgs,Task>) |
Crea un EventCallback para los proporcionados |
Create(EventCallbackFactory, Object, Action<ChangeEventArgs>)
Crea un EventCallback para los proporcionados receiver
y 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
Receptor de eventos.
- callback
- Action<ChangeEventArgs>
Devolución de llamada del evento.
Devoluciones
Se aplica a
Create(EventCallbackFactory, Object, Action<EventArgs>)
Crea un EventCallback para los proporcionados receiver
y 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
Receptor de eventos.
Devoluciones
Se aplica a
Create(EventCallbackFactory, Object, Func<ChangeEventArgs,Task>)
Crea un EventCallback para los proporcionados receiver
y 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
Receptor de eventos.
- callback
- Func<ChangeEventArgs,Task>
Devolución de llamada del evento.
Devoluciones
Se aplica a
Create(EventCallbackFactory, Object, Func<EventArgs,Task>)
Crea un EventCallback para los proporcionados receiver
y 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
Receptor de eventos.