EventCallbackFactory.Create Method

Definition

Overloads

Create(Object, EventCallback)

Returns the provided callback. For internal framework use only.

Create(Object, Action)

Creates an EventCallback for the provided receiver and callback.

Create(Object, Action<Object>)

Creates an EventCallback for the provided receiver and callback.

Create(Object, Func<Object,Task>)

Creates an EventCallback for the provided receiver and callback.

Create(Object, Func<Task>)

Creates an EventCallback for the provided receiver and callback.

Create<TValue>(Object, EventCallback)

Returns the provided callback. For internal framework use only.

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

Returns the provided callback. For internal framework use only.

Create<TValue>(Object, Action)

Creates an EventCallback for the provided receiver and callback.

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

Creates an EventCallback for the provided receiver and callback.

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

Creates an EventCallback for the provided receiver and callback.

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

Creates an EventCallback for the provided receiver and callback.

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.

C#
public Microsoft.AspNetCore.Components.EventCallback Create (object receiver, Microsoft.AspNetCore.Components.EventCallback callback);

Parameters

receiver
Object
callback
EventCallback

Returns

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

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.

C#
public Microsoft.AspNetCore.Components.EventCallback Create (object receiver, Action callback);

Parameters

receiver
Object

The event receiver.

callback
Action

The event callback.

Returns

The EventCallback.

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

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.

C#
public Microsoft.AspNetCore.Components.EventCallback Create (object receiver, Action<object> callback);

Parameters

receiver
Object

The event receiver.

callback
Action<Object>

The event callback.

Returns

The EventCallback.

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

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.

C#
public Microsoft.AspNetCore.Components.EventCallback Create (object receiver, Func<object,System.Threading.Tasks.Task> callback);

Parameters

receiver
Object

The event receiver.

callback
Func<Object,Task>

The event callback.

Returns

The EventCallback.

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

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.

C#
public Microsoft.AspNetCore.Components.EventCallback Create (object receiver, Func<System.Threading.Tasks.Task> callback);

Parameters

receiver
Object

The event receiver.

callback
Func<Task>

The event callback.

Returns

The EventCallback.

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

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.

C#
public Microsoft.AspNetCore.Components.EventCallback<TValue> Create<TValue> (object receiver, Microsoft.AspNetCore.Components.EventCallback callback);

Type Parameters

TValue

Parameters

receiver
Object
callback
EventCallback

Returns

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

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.

C#
public Microsoft.AspNetCore.Components.EventCallback<TValue> Create<TValue> (object receiver, Microsoft.AspNetCore.Components.EventCallback<TValue> callback);

Type Parameters

TValue

Parameters

receiver
Object

Returns

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

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.

C#
public Microsoft.AspNetCore.Components.EventCallback<TValue> Create<TValue> (object receiver, Action callback);

Type Parameters

TValue

Parameters

receiver
Object

The event receiver.

callback
Action

The event callback.

Returns

The EventCallback.

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

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.

C#
public Microsoft.AspNetCore.Components.EventCallback<TValue> Create<TValue> (object receiver, Action<TValue> callback);

Type Parameters

TValue

Parameters

receiver
Object

The event receiver.

callback
Action<TValue>

The event callback.

Returns

The EventCallback.

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

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.

C#
public Microsoft.AspNetCore.Components.EventCallback<TValue> Create<TValue> (object receiver, Func<System.Threading.Tasks.Task> callback);

Type Parameters

TValue

Parameters

receiver
Object

The event receiver.

callback
Func<Task>

The event callback.

Returns

The EventCallback.

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0

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.

C#
public Microsoft.AspNetCore.Components.EventCallback<TValue> Create<TValue> (object receiver, Func<TValue,System.Threading.Tasks.Task> callback);

Type Parameters

TValue

Parameters

receiver
Object

The event receiver.

callback
Func<TValue,Task>

The event callback.

Returns

The EventCallback.

Applies to

ASP.NET Core 9.0 and other versions
Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0