Uses of Package
dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.classic.state
-
Classes in dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.classic.state used by dk.cloudcreate.essentials.components.eventsourced.aggregates.stateful.classic.state Class Description AggregateRootWithState Variant of theAggregateRootpattern where the aggregate's state and allEventHandlerannotated methods are placed within the concreteAggregateStateobject.
When theAggregateRootWithStateis combined withAggregateState, then theAggregateRootWithStatewill contain the command methods and theAggregateStatecontains the state fields and theEventHandlerannotated methods.AggregateState Base class for the state object associated withAggregateRootWithState.
When this is combined with theAggregateRootWithStatewhen theAggregateRootWithStatewill contain the command methods and theAggregateStatecontains the state fields and theEventHandlerannotated methods.