Dela via


EventCallback<TValue> Struct

Definition

A bound event handler delegate.

generic <typename TValue>
public value class EventCallback
public readonly struct EventCallback<TValue>
type EventCallback<'Value> = struct
Public Structure EventCallback(Of TValue)

Type Parameters

TValue
Inheritance
EventCallback<TValue>

Constructors

EventCallback<TValue>(IHandleEvent, MulticastDelegate)

Creates the new EventCallback<TValue>.

Fields

Empty

Gets an empty EventCallback<TValue>.

Properties

HasDelegate

Gets a value that indicates whether the delegate associated with this event dispatcher is non-null.

Methods

Equals(Object)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

InvokeAsync()

Invokes the delegate associated with this binding and dispatches an event notification to the appropriate component.

InvokeAsync(T)

Invokes the delegate associated with this binding and dispatches an event notification to the appropriate component.

Applies to