The Lifetime Scoping package adds an advanced new lifestyle called 'Lifetime Scope', which allows instances to live within an explicitly defined thread-specific scope and get disposed when this scope ends.
A small library that implements an improved version of System.Threading.CancellationToken with support for removable registrations, to allow for garbage collection in the presence of long-lived tokens, plus some related utilities.
Motivation: cancellation tokens can be the source of memory "leaks",...
More information
An observable collection where items are removed when a lifetime paired with them ends.
Affords projecting, filtering, and other functional-style usage by removing the need to equate removed items with previously added items.