WebEventCallbackFactoryEventArgsExtensions.Create Method

Definition

Overloads

Create(EventCallbackFactory, Object, Action<ClipboardEventArgs>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Func<ProgressEventArgs,Task>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Func<PointerEventArgs,Task>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Func<MouseEventArgs,Task>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Func<KeyboardEventArgs,Task>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Func<FocusEventArgs,Task>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Func<ErrorEventArgs,Task>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Func<DragEventArgs,Task>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Func<ClipboardEventArgs,Task>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Action<WheelEventArgs>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Action<TouchEventArgs>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Action<ProgressEventArgs>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Action<PointerEventArgs>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Action<MouseEventArgs>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Action<KeyboardEventArgs>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Action<FocusEventArgs>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Action<ErrorEventArgs>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Action<DragEventArgs>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Func<TouchEventArgs,Task>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Func<WheelEventArgs,Task>)
Obsolete.

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Action<ClipboardEventArgs>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::ClipboardEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Action<Microsoft::AspNetCore::Components::Web::ClipboardEventArgs ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Action(Of ClipboardEventArgs)) As EventCallback(Of ClipboardEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Action<ClipboardEventArgs>

The event callback.

Returns

EventCallback<ClipboardEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Func<ProgressEventArgs,Task>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::ProgressEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Func<Microsoft::AspNetCore::Components::Web::ProgressEventArgs ^, System::Threading::Tasks::Task ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ProgressEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.ProgressEventArgs,System.Threading.Tasks.Task> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ProgressEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.ProgressEventArgs,System.Threading.Tasks.Task> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.ProgressEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ProgressEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.ProgressEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ProgressEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Func(Of ProgressEventArgs, Task)) As EventCallback(Of ProgressEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Func<ProgressEventArgs,Task>

The event callback.

Returns

EventCallback<ProgressEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Func<PointerEventArgs,Task>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::PointerEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Func<Microsoft::AspNetCore::Components::Web::PointerEventArgs ^, System::Threading::Tasks::Task ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.PointerEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.PointerEventArgs,System.Threading.Tasks.Task> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.PointerEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.PointerEventArgs,System.Threading.Tasks.Task> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.PointerEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.PointerEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.PointerEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.PointerEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Func(Of PointerEventArgs, Task)) As EventCallback(Of PointerEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Func<PointerEventArgs,Task>

The event callback.

Returns

EventCallback<PointerEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Func<MouseEventArgs,Task>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::MouseEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Func<Microsoft::AspNetCore::Components::Web::MouseEventArgs ^, System::Threading::Tasks::Task ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.MouseEventArgs,System.Threading.Tasks.Task> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.MouseEventArgs,System.Threading.Tasks.Task> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.MouseEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.MouseEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Func(Of MouseEventArgs, Task)) As EventCallback(Of MouseEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Func<MouseEventArgs,Task>

The event callback.

Returns

EventCallback<MouseEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Func<KeyboardEventArgs,Task>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::KeyboardEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Func<Microsoft::AspNetCore::Components::Web::KeyboardEventArgs ^, System::Threading::Tasks::Task ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs,System.Threading.Tasks.Task> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs,System.Threading.Tasks.Task> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Func(Of KeyboardEventArgs, Task)) As EventCallback(Of KeyboardEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Func<KeyboardEventArgs,Task>

The event callback.

Returns

EventCallback<KeyboardEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Func<FocusEventArgs,Task>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::FocusEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Func<Microsoft::AspNetCore::Components::Web::FocusEventArgs ^, System::Threading::Tasks::Task ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.FocusEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.FocusEventArgs,System.Threading.Tasks.Task> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.FocusEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.FocusEventArgs,System.Threading.Tasks.Task> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.FocusEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.FocusEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.FocusEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.FocusEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Func(Of FocusEventArgs, Task)) As EventCallback(Of FocusEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Func<FocusEventArgs,Task>

The event callback.

Returns

EventCallback<FocusEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Func<ErrorEventArgs,Task>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::ErrorEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Func<Microsoft::AspNetCore::Components::Web::ErrorEventArgs ^, System::Threading::Tasks::Task ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ErrorEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.ErrorEventArgs,System.Threading.Tasks.Task> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ErrorEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.ErrorEventArgs,System.Threading.Tasks.Task> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.ErrorEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ErrorEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.ErrorEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ErrorEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Func(Of ErrorEventArgs, Task)) As EventCallback(Of ErrorEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Func<ErrorEventArgs,Task>

The event callback.

Returns

EventCallback<ErrorEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Func<DragEventArgs,Task>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::DragEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Func<Microsoft::AspNetCore::Components::Web::DragEventArgs ^, System::Threading::Tasks::Task ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.DragEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.DragEventArgs,System.Threading.Tasks.Task> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.DragEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.DragEventArgs,System.Threading.Tasks.Task> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.DragEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.DragEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.DragEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.DragEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Func(Of DragEventArgs, Task)) As EventCallback(Of DragEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Func<DragEventArgs,Task>

The event callback.

Returns

EventCallback<DragEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Func<ClipboardEventArgs,Task>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::ClipboardEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Func<Microsoft::AspNetCore::Components::Web::ClipboardEventArgs ^, System::Threading::Tasks::Task ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs,System.Threading.Tasks.Task> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs,System.Threading.Tasks.Task> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ClipboardEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Func(Of ClipboardEventArgs, Task)) As EventCallback(Of ClipboardEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Func<ClipboardEventArgs,Task>

The event callback.

Returns

EventCallback<ClipboardEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Action<WheelEventArgs>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::WheelEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Action<Microsoft::AspNetCore::Components::Web::WheelEventArgs ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.WheelEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.WheelEventArgs> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.WheelEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.WheelEventArgs> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.WheelEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.WheelEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.WheelEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.WheelEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Action(Of WheelEventArgs)) As EventCallback(Of WheelEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Action<WheelEventArgs>

The event callback.

Returns

EventCallback<WheelEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Action<TouchEventArgs>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::TouchEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Action<Microsoft::AspNetCore::Components::Web::TouchEventArgs ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.TouchEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.TouchEventArgs> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.TouchEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.TouchEventArgs> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.TouchEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.TouchEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.TouchEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.TouchEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Action(Of TouchEventArgs)) As EventCallback(Of TouchEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Action<TouchEventArgs>

The event callback.

Returns

EventCallback<TouchEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Action<ProgressEventArgs>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::ProgressEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Action<Microsoft::AspNetCore::Components::Web::ProgressEventArgs ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ProgressEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.ProgressEventArgs> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ProgressEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.ProgressEventArgs> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.ProgressEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ProgressEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.ProgressEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ProgressEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Action(Of ProgressEventArgs)) As EventCallback(Of ProgressEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Action<ProgressEventArgs>

The event callback.

Returns

EventCallback<ProgressEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Action<PointerEventArgs>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::PointerEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Action<Microsoft::AspNetCore::Components::Web::PointerEventArgs ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.PointerEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.PointerEventArgs> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.PointerEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.PointerEventArgs> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.PointerEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.PointerEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.PointerEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.PointerEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Action(Of PointerEventArgs)) As EventCallback(Of PointerEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Action<PointerEventArgs>

The event callback.

Returns

EventCallback<PointerEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Action<MouseEventArgs>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::MouseEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Action<Microsoft::AspNetCore::Components::Web::MouseEventArgs ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.MouseEventArgs> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.MouseEventArgs> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.MouseEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.MouseEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.MouseEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Action(Of MouseEventArgs)) As EventCallback(Of MouseEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Action<MouseEventArgs>

The event callback.

Returns

EventCallback<MouseEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Action<KeyboardEventArgs>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::KeyboardEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Action<Microsoft::AspNetCore::Components::Web::KeyboardEventArgs ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.KeyboardEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Action(Of KeyboardEventArgs)) As EventCallback(Of KeyboardEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Action<KeyboardEventArgs>

The event callback.

Returns

EventCallback<KeyboardEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Action<FocusEventArgs>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::FocusEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Action<Microsoft::AspNetCore::Components::Web::FocusEventArgs ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.FocusEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.FocusEventArgs> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.FocusEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.FocusEventArgs> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.FocusEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.FocusEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.FocusEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.FocusEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Action(Of FocusEventArgs)) As EventCallback(Of FocusEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Action<FocusEventArgs>

The event callback.

Returns

EventCallback<FocusEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Action<ErrorEventArgs>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::ErrorEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Action<Microsoft::AspNetCore::Components::Web::ErrorEventArgs ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ErrorEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.ErrorEventArgs> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ErrorEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.ErrorEventArgs> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.ErrorEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ErrorEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.ErrorEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.ErrorEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Action(Of ErrorEventArgs)) As EventCallback(Of ErrorEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Action<ErrorEventArgs>

The event callback.

Returns

EventCallback<ErrorEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Action<DragEventArgs>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::DragEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Action<Microsoft::AspNetCore::Components::Web::DragEventArgs ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.DragEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.DragEventArgs> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.DragEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Action<Microsoft.AspNetCore.Components.Web.DragEventArgs> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.DragEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.DragEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Action<Microsoft.AspNetCore.Components.Web.DragEventArgs> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.DragEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Action(Of DragEventArgs)) As EventCallback(Of DragEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Action<DragEventArgs>

The event callback.

Returns

EventCallback<DragEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Func<TouchEventArgs,Task>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::TouchEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Func<Microsoft::AspNetCore::Components::Web::TouchEventArgs ^, System::Threading::Tasks::Task ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.TouchEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.TouchEventArgs,System.Threading.Tasks.Task> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.TouchEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.TouchEventArgs,System.Threading.Tasks.Task> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.TouchEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.TouchEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.TouchEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.TouchEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Func(Of TouchEventArgs, Task)) As EventCallback(Of TouchEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Func<TouchEventArgs,Task>

The event callback.

Returns

EventCallback<TouchEventArgs>

The EventCallback.

Attributes

Applies to

Create(EventCallbackFactory, Object, Func<WheelEventArgs,Task>)

Caution

This extension method is obsolete and will be removed in a future version. Use the generic overload instead.

Creates an EventCallback for the provided receiver and callback.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Components::EventCallback<Microsoft::AspNetCore::Components::Web::WheelEventArgs ^> Create(Microsoft::AspNetCore::Components::EventCallbackFactory ^ factory, System::Object ^ receiver, Func<Microsoft::AspNetCore::Components::Web::WheelEventArgs ^, System::Threading::Tasks::Task ^> ^ callback);
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.WheelEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.WheelEventArgs,System.Threading.Tasks.Task> callback);
[System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")]
public static Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.WheelEventArgs> Create (this Microsoft.AspNetCore.Components.EventCallbackFactory factory, object receiver, Func<Microsoft.AspNetCore.Components.Web.WheelEventArgs,System.Threading.Tasks.Task> callback);
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.WheelEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.WheelEventArgs>
[<System.Obsolete("This extension method is obsolete and will be removed in a future version. Use the generic overload instead.")>]
static member Create : Microsoft.AspNetCore.Components.EventCallbackFactory * obj * Func<Microsoft.AspNetCore.Components.Web.WheelEventArgs, System.Threading.Tasks.Task> -> Microsoft.AspNetCore.Components.EventCallback<Microsoft.AspNetCore.Components.Web.WheelEventArgs>
<Extension()>
Public Function Create (factory As EventCallbackFactory, receiver As Object, callback As Func(Of WheelEventArgs, Task)) As EventCallback(Of WheelEventArgs)

Parameters

receiver
Object

The event receiver.

callback
Func<WheelEventArgs,Task>

The event callback.

Returns

EventCallback<WheelEventArgs>

The EventCallback.

Attributes

Applies to