Share via


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(EventCallbackFactory, Object, Func<Boolean,Task>, Boolean, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<DateOnly,Task>, DateOnly, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<DateOnly,Task>, DateOnly, String, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<DateTime,Task>, DateTime, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<DateTime,Task>, DateTime, String, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<DateTimeOffset,Task>, DateTimeOffset, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<DateTimeOffset,Task>, DateTimeOffset, String, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Decimal,Task>, Decimal, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Double,Task>, Double, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Int16,Task>, Int16, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Int32,Task>, Int32, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Int64,Task>, Int64, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Nullable<Boolean>,Task>, Nullable<Boolean>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Nullable<DateOnly>,Task>, Nullable<DateOnly>, CultureInfo)

For internal use only.

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

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Nullable<DateTime>,Task>, Nullable<DateTime>, CultureInfo)

For internal use only.

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

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Nullable<DateTimeOffset>,Task>, Nullable<DateTimeOffset>, CultureInfo)

For internal use only.

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

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Nullable<Decimal>,Task>, Nullable<Decimal>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Nullable<Double>,Task>, Nullable<Double>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Nullable<Int16>,Task>, Nullable<Int16>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Nullable<Int32>,Task>, Nullable<Int32>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Nullable<Int64>,Task>, Nullable<Int64>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Nullable<Single>,Task>, Nullable<Single>, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Nullable<TimeOnly>,Task>, Nullable<TimeOnly>, CultureInfo)

For internal use only.

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

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<Single,Task>, Single, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<String,Task>, String, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<TimeOnly,Task>, TimeOnly, CultureInfo)

For internal use only.

CreateBinder(EventCallbackFactory, Object, Func<TimeOnly,Task>, TimeOnly, String, CultureInfo)

For internal use only.

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

For internal use only.

CreateBinder<T>(EventCallbackFactory, Object, Func<T,Task>, 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