EventCallback Struct

Definition

A bound event handler delegate.

C#
public readonly struct EventCallback
Inheritance
EventCallback

Constructors

Fields

Empty

Gets an empty EventCallback.

Factory

Gets a reference to the EventCallbackFactory.

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(Object)

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

Applies to

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