EventCallbackFactory.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Create(Object, EventCallback) |
Returns the provided |
Create(Object, Action) |
Creates an EventCallback for the provided |
Create(Object, Action<Object>) |
Creates an EventCallback for the provided |
Create(Object, Func<Object,Task>) |
Creates an EventCallback for the provided |
Create(Object, Func<Task>) |
Creates an EventCallback for the provided |
Create<TValue>(Object, EventCallback) |
Returns the provided |
Create<TValue>(Object, EventCallback<TValue>) |
Returns the provided |
Create<TValue>(Object, Action) |
Creates an EventCallback for the provided |
Create<TValue>(Object, Action<TValue>) |
Creates an EventCallback for the provided |
Create<TValue>(Object, Func<Task>) |
Creates an EventCallback for the provided |
Create<TValue>(Object, Func<TValue,Task>) |
Creates an EventCallback for the provided |
Create(Object, EventCallback)
- Source:
- EventCallbackFactory.cs
- Source:
- EventCallbackFactory.cs
- Source:
- EventCallbackFactory.cs
- Source:
- EventCallbackFactory.cs
- Source:
- EventCallbackFactory.cs
- Source:
- EventCallbackFactory.cs
- Source:
- EventCallbackFactory.cs
Returns the provided callback
. For internal framework use only.
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
Parameters
- receiver
- Object
- callback
- EventCallback
Returns
Applies to
Create(Object, Action)
- Source:
- EventCallbackFactory.cs
- Source:
- EventCallbackFactory.cs
- Source:
- EventCallbackFactory.cs
- Source:
- EventCallbackFactory.cs
- Source:
- EventCallbackFactory.cs
- Source:
- EventCallbackFactory.cs
- Source:
- EventCallbackFactory.cs
Creates an EventCallback for the provided receiver
and
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
Parameters
- receiver
- Object
The event receiver.
- callback
- Action
The event callback.
Returns
The EventCallback.
Applies to
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
Creates an EventCallback for the provided receiver
and
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
Parameters
- receiver
- Object
The event receiver.
Returns
The EventCallback.
Applies to
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
Creates an EventCallback for the provided receiver
and
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
Parameters
- receiver
- Object
The event receiver.
Returns
The EventCallback.
Applies to
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
Creates an EventCallback for the provided receiver
and
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
Parameters
- receiver
- Object
The event receiver.
Returns
The EventCallback.
Applies to
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
Returns the provided callback
. For internal framework use only.
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)
Type Parameters
- TValue
Parameters
- receiver
- Object
- callback
- EventCallback
Returns
Applies to
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
Returns the provided callback
. For internal framework use only.
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)
Type Parameters
- TValue
Parameters
- receiver
- Object
- callback
- EventCallback<TValue>
Returns
Applies to
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
Creates an EventCallback for the provided receiver
and
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)
Type Parameters
- TValue
Parameters
- receiver
- Object
The event receiver.
- callback
- Action
The event callback.
Returns
The EventCallback.
Applies to
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
Creates an EventCallback for the provided receiver
and
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)
Type Parameters
- TValue
Parameters
- receiver
- Object
The event receiver.
- callback
- Action<TValue>
The event callback.
Returns
The EventCallback.
Applies to
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
Creates an EventCallback for the provided receiver
and
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)
Type Parameters
- TValue
Parameters
- receiver
- Object
The event receiver.
Returns
The EventCallback.
Applies to
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
Creates an EventCallback for the provided receiver
and
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)
Type Parameters
- TValue
Parameters
- receiver
- Object
The event receiver.
Returns
The EventCallback.