soenneker / soenneker.blazor.utils.interopeventlistener

Manages the registration, removal, and disposal of .NET object references used for interop event listeners.

Home Page:https://soenneker.com

Repository from Github https://github.comsoenneker/soenneker.blazor.utils.interopeventlistenerRepository from Github https://github.comsoenneker/soenneker.blazor.utils.interopeventlistener

Soenneker.Blazor.Utils.InteropEventListener

Manages the registration, removal, and disposal of .NET object references used for interop event listeners.

Handles warnings for potential duplicate registrations and providing methods for cleanup. The class is equipped with asynchronous and synchronous disposal mechanisms, as well as methods for adding event listeners with generic callback functions.

Installation

dotnet add package Soenneker.Blazor.Utils.InteropEventListener

About

Manages the registration, removal, and disposal of .NET object references used for interop event listeners.

https://soenneker.com

License:MIT License


Languages

Language:C# 100.0%