EventCallbackFactory.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Create(Object, EventCallback) |
返回提供的 |
Create(Object, Action) |
EventCallback为提供的 |
Create(Object, Action<Object>) |
EventCallback为提供的 |
Create(Object, Func<Object,Task>) |
EventCallback为提供的 |
Create(Object, Func<Task>) |
EventCallback为提供的 |
Create<TValue>(Object, EventCallback) |
返回提供的 |
Create<TValue>(Object, EventCallback<TValue>) |
返回提供的 |
Create<TValue>(Object, Action) |
EventCallback为提供的 |
Create<TValue>(Object, Action<TValue>) |
EventCallback为提供的 |
Create<TValue>(Object, Func<Task>) |
EventCallback为提供的 |
Create<TValue>(Object, Func<TValue,Task>) |
EventCallback为提供的 |
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为提供的 receiver
和 callback
创建 。
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
事件回调。
返回
适用于
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为提供的 receiver
和 callback
创建 。
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
事件接收器。
返回
适用于
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为提供的 receiver
和 callback
创建 。
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
事件接收器。
返回
适用于
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为提供的 receiver
和 callback
创建 。
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
事件接收器。
返回
适用于
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
- callback
- EventCallback<TValue>
返回
适用于
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为提供的 receiver
和 callback
创建 。
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
事件回调。
返回
适用于
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为提供的 receiver
和 callback
创建 。
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>
事件回调。
返回
适用于
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为提供的 receiver
和 callback
创建 。
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
事件接收器。
返回
适用于
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为提供的 receiver
和 callback
创建 。
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
事件接收器。