Skip to content

Namespace Cephalon.Behaviors.Services

BehaviorAdvisoryCatalog

Aggregates advisories from all registered implementations.

BehaviorCatalog

Exposes the merged set of behavior topology descriptors contributed to the active runtime. Contributors are discovered via DI enumeration over .

BehaviorCollectionBuilder

Default implementation of . Registers behavior types in DI, populates the type registry, and optionally contributes a fluent topology descriptor at Layer 4.

BehaviorDispatcher

Resolves behavior instances from the service provider and dispatches calls to the appropriate by behavior identifier. The dispatch table is built once at construction time from a frozen dictionary for O(1) lock-free lookup on every call.

BehaviorExecutionSlot

A compiled, type-safe invocation delegate for a concrete implementation. Slots are created once at dispatcher construction time and reused for every dispatch call.

BehaviorRegistry

Simple list-backed registry that collects instances from contributors.

BehaviorTypeRegistry

Default mutable implementation of . Populated during DI setup by BehaviorCollectionBuilder.Register<TBehavior>() and consumed by at construction time.

FluentBehaviorContributor

A behavior contributor that carries a topology descriptor built via fluent DI registration. This contributor represents Layer 4 (highest priority) in the topology resolution chain.

IBehaviorCollectionBuilder

Provides a fluent API for registering application behaviors with their topology, DI lifetime, and type registry entries.

IBehaviorTypeRegistry

Maps behavior identifiers to their concrete implementation types. This registry is populated during DI setup and consumed by at construction time to build its dispatch table.