C# (CSharp) NDomain Namespace

Nested Namespaces

NDomain.Bus
NDomain.CQRS
NDomain.Configuration
NDomain.EventSourcing
NDomain.Logging
NDomain.NLog
NDomain.Tests

Classes

Name Description
ConcurrencyException Exception raised when there's a concurrency conflict persisting changes to an aggregate
DomainTransaction Contains the contextual properties when processing a message, like its Id and how many times it was retried
DomainTransactionScope Provides an message context scope for any processing that happens within a message handler. The context is available in the same thread and in the same CallContext, so asynchronous programming with the 'await' keyword will preserve the context on the continuations.
RedisExtensions BusConfigurator extensions to use Redis
State Base class for aggregate states, that already has State Mutator support. It uses a convention based for applying events. Subclasses should have public or private methods using the following convention: void On[NameOfTheEventType]([NameOfTheEventType] ev) These methods are called by a state mutator in order to apply events that modify the current state
StateMutator Internal cache for StateMutator instances, as their construction is very heavy