EventCallbackFactoryEventArgsExtensions.Create Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
Create(EventCallbackFactory, Object, Action<ChangeEventArgs>) |
Vytvoří pro EventCallback zadané |
Create(EventCallbackFactory, Object, Action<EventArgs>) |
Vytvoří pro EventCallback zadané |
Create(EventCallbackFactory, Object, Func<ChangeEventArgs,Task>) |
Vytvoří pro EventCallback zadané |
Create(EventCallbackFactory, Object, Func<EventArgs,Task>) |
Vytvoří pro EventCallback zadané |
Create(EventCallbackFactory, Object, Action<ChangeEventArgs>)
Vytvoří pro EventCallback zadané receiver
a 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)
Parametry
- factory
- EventCallbackFactory
Hodnota EventCallbackFactory
- receiver
- Object
Příjemce události.
- callback
- Action<ChangeEventArgs>
Zpětné volání události.
Návraty
Hodnota EventCallback
Platí pro
Create(EventCallbackFactory, Object, Action<EventArgs>)
Vytvoří pro EventCallback zadané receiver
a 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)
Parametry
- factory
- EventCallbackFactory
Hodnota EventCallbackFactory
- receiver
- Object
Příjemce události.
Návraty
Hodnota EventCallback
Platí pro
Create(EventCallbackFactory, Object, Func<ChangeEventArgs,Task>)
Vytvoří pro EventCallback zadané receiver
a 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)
Parametry
- factory
- EventCallbackFactory
Hodnota EventCallbackFactory
- receiver
- Object
Příjemce události.
- callback
- Func<ChangeEventArgs,Task>
Zpětné volání události.
Návraty
Hodnota EventCallback
Platí pro
Create(EventCallbackFactory, Object, Func<EventArgs,Task>)
Vytvoří pro EventCallback zadané receiver
a 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)
Parametry
- factory
- EventCallbackFactory
Hodnota EventCallbackFactory
- receiver
- Object
Příjemce události.
Návraty
Hodnota EventCallback