Kosek.DisposableEvent 1.1.0

A smart and simple way to work with limited-lifetime events in .NET
This package introduce the concept of Disposable events - when you subscribe to such event you will obtain IDisposable token, and when you call Dispose on it, the event subscription will be automatically removed. This will work regardless of action used to subscribe (such as lambdas, or other hard-to-unregister types)

Install-Package Kosek.DisposableEvent -Version 1.1.0
dotnet add package Kosek.DisposableEvent --version 1.1.0
<PackageReference Include="Kosek.DisposableEvent" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Kosek.DisposableEvent --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Kosek.DisposableEvent, 1.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Kosek.DisposableEvent as a Cake Addin
#addin nuget:?package=Kosek.DisposableEvent&version=1.1.0

// Install Kosek.DisposableEvent as a Cake Tool
#tool nuget:?package=Kosek.DisposableEvent&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added missing files

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.0 101 1/6/2021