Namespace Excalibur.Domain.Model
Classes
- AggregateRoot
Base class for event-sourced aggregates with string keys.
- AggregateRoot<TKey>
Base class for event-sourced aggregates with strongly-typed keys.
- AggregateRoot<TAggregate, TKey>
Convenience base class for event-sourced aggregates that enables type inference for
AddRepository<TAggregate, TKey>()zero-argument registration.
- EntityBase
Provides a base class for entities with a default key type of string.
- EntityBase<TKey>
Provides a base class for entities with a specified key type.
- KeyedAggregateRoot<TKey, TBusinessKey>
Base class for aggregates that have both a technical identity and a business key.
- SmartEnum<T>
Base class for creating type-safe enumeration patterns in domain models. Provides richer behavior than standard C# enums by supporting display names, custom logic, and polymorphism while remaining serialization-friendly via integer IDs.
Structs
- HistoricEvent
Pairs a persisted domain event with the authoritative stream version assigned to it by the event store.
Interfaces
- IAggregateRoot
Represents an aggregate root in Domain-Driven Design that uses event sourcing.
- IAggregateRoot<TKey>
Generic interface for aggregates with strongly-typed keys.
- IAggregateRoot<TAggregate, TKey>
Generic interface for strongly-typed aggregates with factory methods.
- IAggregateSnapshotSupport
Provides snapshot and history replay capabilities for an aggregate root.
- IEntity
Represents a base entity in the domain-driven design (DDD) pattern.
- IEntity<TKey>
Represents a typed entity in the domain-driven design (DDD) pattern.
- ISnapshot
Represents a snapshot of an aggregate's state at a specific version.