Skip to content

Apq.ChangeBubblingChange Bubbling Event Library

Rx reactive streams, weak messaging, and pluggable scheduling

Apq.ChangeBubbling

Quick Install

bash
dotnet add package Apq.ChangeBubbling
xml
<PackageReference Include="Apq.ChangeBubbling" Version="1.0.*" />

Simple Example

csharp
using Apq.ChangeBubbling.Nodes;

// Create node tree
var root = new ListBubblingNode<string>("Root");
var child = new ListBubblingNode<int>("Child");

// Establish parent-child relationship
root.AttachChild(child);

// Subscribe to change events
root.NodeChanged += (sender, change) =>
{
    Console.WriteLine($"Change: {change.PropertyName}, Kind: {change.Kind}, Path: {string.Join(".", change.PathSegments)}");
};

// Child changes bubble up to parent
child.Add(42);
child.Add(100);

Supported Frameworks

FrameworkVersion
.NET8.0, 10.0 (LTS)

Released under the MIT License