EventCallbackFactory.Create 方法

定义

重载

Create(Object, EventCallback)

返回提供的 callback。 仅供内部框架使用。

Create(Object, Action)

EventCallback为提供的 receivercallback创建 。

Create(Object, Action<Object>)

EventCallback为提供的 receivercallback创建 。

Create(Object, Func<Object,Task>)

EventCallback为提供的 receivercallback创建 。

Create(Object, Func<Task>)

EventCallback为提供的 receivercallback创建 。

Create<TValue>(Object, EventCallback)

返回提供的 callback。 仅供内部框架使用。

Create<TValue>(Object, EventCallback<TValue>)

返回提供的 callback。 仅供内部框架使用。

Create<TValue>(Object, Action)

EventCallback为提供的 receivercallback创建 。

Create<TValue>(Object, Action<TValue>)

EventCallback为提供的 receivercallback创建 。

Create<TValue>(Object, Func<Task>)

EventCallback为提供的 receivercallback创建 。

Create<TValue>(Object, Func<TValue,Task>)

EventCallback为提供的 receivercallback创建 。

Create(Object, EventCallback)

Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs

返回提供的 callback。 仅供内部框架使用。

public:
 Microsoft::AspNetCore::Components::EventCallback Create(System::Object ^ receiver, Microsoft::AspNetCore::Components::EventCallback callback);
public Microsoft.AspNetCore.Components.EventCallback Create (object receiver, Microsoft.AspNetCore.Components.EventCallback callback);
member this.Create : obj * Microsoft.AspNetCore.Components.EventCallback -> Microsoft.AspNetCore.Components.EventCallback
Public Function Create (receiver As Object, callback As EventCallback) As EventCallback

参数

receiver
Object
callback
EventCallback

返回

适用于

Create(Object, Action)

Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs

EventCallback为提供的 receivercallback创建 。

public:
 Microsoft::AspNetCore::Components::EventCallback Create(System::Object ^ receiver, Action ^ callback);
public Microsoft.AspNetCore.Components.EventCallback Create (object receiver, Action callback);
member this.Create : obj * Action -> Microsoft.AspNetCore.Components.EventCallback
Public Function Create (receiver As Object, callback As Action) As EventCallback

参数

receiver
Object

事件接收器。

callback
Action

事件回调。

返回

EventCallback

适用于

Create(Object, Action<Object>)

Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs

EventCallback为提供的 receivercallback创建 。

public:
 Microsoft::AspNetCore::Components::EventCallback Create(System::Object ^ receiver, Action<System::Object ^> ^ callback);
public Microsoft.AspNetCore.Components.EventCallback Create (object receiver, Action<object> callback);
member this.Create : obj * Action<obj> -> Microsoft.AspNetCore.Components.EventCallback
Public Function Create (receiver As Object, callback As Action(Of Object)) As EventCallback

参数

receiver
Object

事件接收器。

callback
Action<Object>

事件回调。

返回

EventCallback

适用于

Create(Object, Func<Object,Task>)

Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs

EventCallback为提供的 receivercallback创建 。

public:
 Microsoft::AspNetCore::Components::EventCallback Create(System::Object ^ receiver, Func<System::Object ^, System::Threading::Tasks::Task ^> ^ callback);
public Microsoft.AspNetCore.Components.EventCallback Create (object receiver, Func<object,System.Threading.Tasks.Task> callback);
member this.Create : obj * Func<obj, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback
Public Function Create (receiver As Object, callback As Func(Of Object, Task)) As EventCallback

参数

receiver
Object

事件接收器。

callback
Func<Object,Task>

事件回调。

返回

EventCallback

适用于

Create(Object, Func<Task>)

Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs

EventCallback为提供的 receivercallback创建 。

public:
 Microsoft::AspNetCore::Components::EventCallback Create(System::Object ^ receiver, Func<System::Threading::Tasks::Task ^> ^ callback);
public Microsoft.AspNetCore.Components.EventCallback Create (object receiver, Func<System.Threading.Tasks.Task> callback);
member this.Create : obj * Func<System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback
Public Function Create (receiver As Object, callback As Func(Of Task)) As EventCallback

参数

receiver
Object

事件接收器。

callback
Func<Task>

事件回调。

返回

EventCallback

适用于

Create<TValue>(Object, EventCallback)

Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs

返回提供的 callback。 仅供内部框架使用。

public:
generic <typename TValue>
 Microsoft::AspNetCore::Components::EventCallback<TValue> Create(System::Object ^ receiver, Microsoft::AspNetCore::Components::EventCallback callback);
public Microsoft.AspNetCore.Components.EventCallback<TValue> Create<TValue> (object receiver, Microsoft.AspNetCore.Components.EventCallback callback);
member this.Create : obj * Microsoft.AspNetCore.Components.EventCallback -> Microsoft.AspNetCore.Components.EventCallback<'Value>
Public Function Create(Of TValue) (receiver As Object, callback As EventCallback) As EventCallback(Of TValue)

类型参数

TValue

参数

receiver
Object
callback
EventCallback

返回

适用于

Create<TValue>(Object, EventCallback<TValue>)

Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs

返回提供的 callback。 仅供内部框架使用。

public:
generic <typename TValue>
 Microsoft::AspNetCore::Components::EventCallback<TValue> Create(System::Object ^ receiver, Microsoft::AspNetCore::Components::EventCallback<TValue> callback);
public Microsoft.AspNetCore.Components.EventCallback<TValue> Create<TValue> (object receiver, Microsoft.AspNetCore.Components.EventCallback<TValue> callback);
member this.Create : obj * Microsoft.AspNetCore.Components.EventCallback<'Value> -> Microsoft.AspNetCore.Components.EventCallback<'Value>
Public Function Create(Of TValue) (receiver As Object, callback As EventCallback(Of TValue)) As EventCallback(Of TValue)

类型参数

TValue

参数

receiver
Object

返回

适用于

Create<TValue>(Object, Action)

Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs

EventCallback为提供的 receivercallback创建 。

public:
generic <typename TValue>
 Microsoft::AspNetCore::Components::EventCallback<TValue> Create(System::Object ^ receiver, Action ^ callback);
public Microsoft.AspNetCore.Components.EventCallback<TValue> Create<TValue> (object receiver, Action callback);
member this.Create : obj * Action -> Microsoft.AspNetCore.Components.EventCallback<'Value>
Public Function Create(Of TValue) (receiver As Object, callback As Action) As EventCallback(Of TValue)

类型参数

TValue

参数

receiver
Object

事件接收器。

callback
Action

事件回调。

返回

EventCallback

适用于

Create<TValue>(Object, Action<TValue>)

Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs

EventCallback为提供的 receivercallback创建 。

public:
generic <typename TValue>
 Microsoft::AspNetCore::Components::EventCallback<TValue> Create(System::Object ^ receiver, Action<TValue> ^ callback);
public Microsoft.AspNetCore.Components.EventCallback<TValue> Create<TValue> (object receiver, Action<TValue> callback);
member this.Create : obj * Action<'Value> -> Microsoft.AspNetCore.Components.EventCallback<'Value>
Public Function Create(Of TValue) (receiver As Object, callback As Action(Of TValue)) As EventCallback(Of TValue)

类型参数

TValue

参数

receiver
Object

事件接收器。

callback
Action<TValue>

事件回调。

返回

EventCallback

适用于

Create<TValue>(Object, Func<Task>)

Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs

EventCallback为提供的 receivercallback创建 。

public:
generic <typename TValue>
 Microsoft::AspNetCore::Components::EventCallback<TValue> Create(System::Object ^ receiver, Func<System::Threading::Tasks::Task ^> ^ callback);
public Microsoft.AspNetCore.Components.EventCallback<TValue> Create<TValue> (object receiver, Func<System.Threading.Tasks.Task> callback);
member this.Create : obj * Func<System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<'Value>
Public Function Create(Of TValue) (receiver As Object, callback As Func(Of Task)) As EventCallback(Of TValue)

类型参数

TValue

参数

receiver
Object

事件接收器。

callback
Func<Task>

事件回调。

返回

EventCallback

适用于

Create<TValue>(Object, Func<TValue,Task>)

Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs
Source:
EventCallbackFactory.cs

EventCallback为提供的 receivercallback创建 。

public:
generic <typename TValue>
 Microsoft::AspNetCore::Components::EventCallback<TValue> Create(System::Object ^ receiver, Func<TValue, System::Threading::Tasks::Task ^> ^ callback);
public Microsoft.AspNetCore.Components.EventCallback<TValue> Create<TValue> (object receiver, Func<TValue,System.Threading.Tasks.Task> callback);
member this.Create : obj * Func<'Value, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<'Value>
Public Function Create(Of TValue) (receiver As Object, callback As Func(Of TValue, Task)) As EventCallback(Of TValue)

类型参数

TValue

参数

receiver
Object

事件接收器。

callback
Func<TValue,Task>

事件回调。

返回

EventCallback

适用于