Found 45 packages
A generic weak event implementation.
Offers a way of creating weakbindings to avoid Memory Leaks when using events.
INotifyPropertyChanged, Recordable (undo/redo) and Weak Event patterns. An official PostSharp pattern library.
Catel.Core library.
DEPRECATED - see https://github.com/channeladam/ChannelAdam.Core/blob/master/README.md. A core library that provides helpful functionality including base classes for disposables and finalizers, weak events, proxies, support for retry policies, XML conversion/serialisation and embedded resources.
Changes regular event handlers into weak event handlers by weaving a weak event adapter between source and subscriber.
ALabs 项目弱事件类库
Weakly referenced event subscribers. Keep your .NET events lean and memory-safe.
Message broker extension for Ninject using weak events
This library provide weak event support. You can implement your own event in weak reference, and you can also transform existed CLR events into weak events.
The WeakEventListener allows the owner to be garbage collected if its only remaining link is an event handler.
Notification component for synchronous and asynchronous loosely coupled notification with automatic thread switching: synchronous and asynchronous notification, automatic thread switching: to background or UI thread, loose coupling of event topic publishers and subscribers, publishers and subscribers are referenced by weak references and can therefore be garbage collected multiple publishers and/or subscribers for a single event topic, matchers for publications and subscriptions, thorough customizable logging, extension support.
WeakSubscribe to events. Taken from the MvvmCross codebase and provided on its own. WeakSubscribe hands responsibility to the client code, unlike using a WeakEventManager which requires modified events. See project site for instructions.
Extensions for System.Threading.Tasks Includes extension methods to safely fire-and-forget a Task and/or a ValueTask Includes WeakEventManger which avoids memory leaks when events are not unsubscribed
Implementation of a weak event handler.
Livet is the infrastructure of MVVM pattern on WPF. It supports .NET Framework 4.5.2 or later and .NET Core 3.1, and licensed as zlib/libpng. This package is for useful event listeners using weak event pattern for MVVM pattern.
Laziness Lib with extensions for lazy developers
This library provides methods for registering and unregistering event handlers that don't cause memory "leaks" when the lifetime of the listener is longer than the lifetime of the object being listened to (one of the most common scenarios for memory leaks in C#/.Net).
Notification component for synchronous and asynchronous loosly coupled notification with automatic thread switching: * Synchronous and asynchronous notification * Automatic thread switching: to background or UI thread * Loose coupling of event topic publishers and subscribers * Publishers and subscribers are referenced by weak references. Therefore they can be garbage collected * Multiple publishers and/or subscribers for a single event topic * Matchers for publications and subscriptions * Thorough customizable logging * Extension support bbv.Common.EventBroker is a part of bbv.Common, a library of .NET components and functionality including: * (a)synchronous notification component with thread switching using publisher-subscriber pattern, * hierarchical state machine with fluent definition syntax, * programmatic, loosely coupled, context based rule engine, * support for active objects to build multi-threaded applications
A .NET library for events that enforces a weak reference to the event handler.