Skip to content

v1.1.0

Choose a tag to compare

@windischb windischb released this 26 Oct 10:01
· 3 commits to develop since this release

What's New

Owner and Anchors API

Associate scopes with context objects for better composition control:

  • Owner API (scope.Owner.*) - Manage a single distinguished owner with safety guarantees
  • Anchors API (scope.Anchors.*) - Manage typed and named anchors
  • Weak reference storage prevents memory leaks
  • Fluent chaining with .Scope property
  • Direct composition via Owner.Compose() and Anchors.Compose<T>()

Using* Extension Methods

New fluent convenience methods for inline capability usage:

  • UsingFirst<T>() / UsingFirstOrDefault<T>() - Use first capability
  • UsingLast<T>() / UsingLastOrDefault<T>() - Use last capability
  • UsingEach<T>() - Execute for each capability
  • UsingAll<T>() - Execute with full collection
  • Action-based overloads return IComposition for chaining
  • Function-based overloads return results directly