Skip to content

IEventHandler

Andrei Fangli edited this page Jun 1, 2021 · 4 revisions
API / IEventHandler<TEventArgs> interface

An event handler used to subscribe to events. Similar to an EventHandler<TEventArgs> delegate in .NET.

interface IEventHandler<TEventArgs = void>

Template Parameters

  • TEventArgs: optional, can be used to provide context about the event.

Methods

  • handle: the method that handles the event.
Clone this wiki locally