Base classes and primitives for building rich domain models using DDD patterns.
AggregateBase for consistent aggregate implementation.IDomainEvent and DomainEventBase for in-process events.TaskHub.Shared.Domain provides the structural foundation for the Domain Layer in Clean Architecture. It enforces DDD patterns to ensure business logic remains encapsulated and expressive.
Aggregates are clusters of domain objects that can be treated as a single unit. Every aggregate has a root and a boundary.
Domain events represent something that happened in the domain that other parts of the same domain (or other domains) should be aware of.
Domain-specific exceptions that capture business rule violations.