TaskHub.Shared

TaskHub.Shared.Domain

Base classes and primitives for building rich domain models using DDD patterns.

Contents

Summary


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.

Core Components

Aggregates

Aggregates are clusters of domain objects that can be treated as a single unit. Every aggregate has a root and a boundary.

Domain Events

Domain events represent something that happened in the domain that other parts of the same domain (or other domains) should be aware of.

Exceptions

Domain-specific exceptions that capture business rule violations.