Toastie.Events (2.3.1)

Published 2024-07-10 01:10:30 -07:00 by toastie_t0ast

Installation

dotnet nuget add source --name toastie_t0ast --username your_username --password your_token 
dotnet add package --source toastie_t0ast --version 2.3.1 Toastie.Events

About this package

Provides generic and async event handlers.

Toastie.Events

Defines the following types:

  • EventHandler<T1, T2>
    • Where T1 is the object that sends the event and T2 is the EventArgs.
  • AsyncEventHandler
    • Takes an object? type and an EventArgs.
  • AsyncEventHandler<T1, T2>
    • Where T1 is the object that sends the event and T2 is the EventArgs.
  • AsyncEvent<T1, T2>
    • Where T1 is the object that sends the event and T2 is the EventArgs.
    • In contrast to AsyncEventHandler, AsyncEvent properly awaits for the execution of all handlers registered in it.
Details
NuGet
2024-07-10 01:10:30 -07:00
8
Toastie
300 KiB
Assets (2)
Versions (7) View all
2.3.2 2024-07-10
2.3.1 2024-07-10
2.3.0 2024-07-10
2.2.1 2024-07-10
2.2.0 2024-07-10