共用方式為


EventCallbackFactoryEventArgsExtensions.Create 方法

定義

多載

Create(EventCallbackFactory, Object, Action<ChangeEventArgs>)

EventCallback為提供的 receivercallback 建立 。

Create(EventCallbackFactory, Object, Action<EventArgs>)

EventCallback為提供的 receivercallback 建立 。

Create(EventCallbackFactory, Object, Func<ChangeEventArgs,Task>)

EventCallback為提供的 receivercallback 建立 。

Create(EventCallbackFactory, Object, Func<EventArgs,Task>)

EventCallback為提供的 receivercallback 建立 。

Create(EventCallbackFactory, Object, Action<ChangeEventArgs>)

來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs

EventCallback為提供的 receivercallback 建立 。

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)

參數

receiver
Object

事件接收器。

callback
Action<ChangeEventArgs>

事件回呼。

傳回

EventCallback

適用於

Create(EventCallbackFactory, Object, Action<EventArgs>)

來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs

EventCallback為提供的 receivercallback 建立 。

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)

參數

receiver
Object

事件接收器。

callback
Action<EventArgs>

事件回呼。

傳回

EventCallback

適用於

Create(EventCallbackFactory, Object, Func<ChangeEventArgs,Task>)

來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs

EventCallback為提供的 receivercallback 建立 。

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)

參數

receiver
Object

事件接收器。

callback
Func<ChangeEventArgs,Task>

事件回呼。

傳回

EventCallback

適用於

Create(EventCallbackFactory, Object, Func<EventArgs,Task>)

來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs
來源:
EventCallbackFactoryEventArgsExtensions.cs

EventCallback為提供的 receivercallback 建立 。

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)

參數

receiver
Object

事件接收器。

callback
Func<EventArgs,Task>

事件回呼。

傳回

EventCallback

適用於