EventCallbackFactory Class

Definition

A factory for creating EventCallback and EventCallback<TValue> instances.

public ref class EventCallbackFactory sealed
public sealed class EventCallbackFactory
type EventCallbackFactory = class
Public NotInheritable Class EventCallbackFactory
Inheritance
EventCallbackFactory

Constructors

EventCallbackFactory()

Methods

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, EventCallback)

Returns the provided callback. For internal framework use only.

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, 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, 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, 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.

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.

Extension Methods

CreateBinder(EventCallbackFactory, Object, Action<Boolean>, Boolean, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<DateOnly>, DateOnly, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<DateOnly>, DateOnly, String, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<DateTime>, DateTime, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<DateTime>, DateTime, String, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<DateTimeOffset>, DateTimeOffset, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<DateTimeOffset>, DateTimeOffset, String, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Decimal>, Decimal, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Double>, Double, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Int16>, Int16, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Int32>, Int32, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Int64>, Int64, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Nullable<Boolean>>, Nullable<Boolean>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Nullable<DateOnly>>, Nullable<DateOnly>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Nullable<DateOnly>>, Nullable<DateOnly>, String, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Nullable<DateTime>>, Nullable<DateTime>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Nullable<DateTime>>, Nullable<DateTime>, String, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Nullable<DateTimeOffset>>, Nullable<DateTimeOffset>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Nullable<DateTimeOffset>>, Nullable<DateTimeOffset>, String, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Nullable<Decimal>>, Nullable<Decimal>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Nullable<Double>>, Nullable<Double>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Nullable<Int16>>, Nullable<Int16>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Nullable<Int32>>, Nullable<Int32>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Nullable<Int64>>, Nullable<Int64>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Nullable<Single>>, Nullable<Single>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Nullable<TimeOnly>>, Nullable<TimeOnly>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Nullable<TimeOnly>>, Nullable<TimeOnly>, String, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<Single>, Single, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<String>, String, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<TimeOnly>, TimeOnly, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Action<TimeOnly>, TimeOnly, String, CultureInfo)

For internal use only.

CreateBinder<T>(EventCallbackFactory, Object, Action<T>, T, CultureInfo)

For internal use only.

Create(EventCallbackFactory, Object, Action<ChangeEventArgs>)

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Action<EventArgs>)

Creates an EventCallback for the provided receiver and callback.

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

Creates an EventCallback for the provided receiver and callback.

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

Creates an EventCallback for the provided receiver and callback.

Create(EventCallbackFactory, Object, Action<ClipboardEventArgs>)
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, Action<ErrorEventArgs>)
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<KeyboardEventArgs>)
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<PointerEventArgs>)
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<TouchEventArgs>)
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, Func<ClipboardEventArgs,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<ErrorEventArgs,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<KeyboardEventArgs,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<PointerEventArgs,Task>)
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<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.

Applies to