Dela via


EventCallbackFactory.CreateInferred Method

Definition

Overloads

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

Creates an EventCallback for the provided receiver and callback. For internal framework use only.

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

Creates an EventCallback for the provided receiver and callback. For internal framework use only.

CreateInferred<TValue>(Object, Action<TValue>, 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. For internal framework use only.

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

Type Parameters

TValue

Parameters

receiver
Object
callback
Action<TValue>
value
TValue

Returns

Applies to

CreateInferred<TValue>(Object, Func<TValue,Task>, 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. For internal framework use only.

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

Type Parameters

TValue

Parameters

receiver
Object
callback
Func<TValue,Task>
value
TValue

Returns

Applies to