Class AggregateState
Represents the state (data) of an aggregate. A derived class should be a POCO (DTO/Packet) that includes a When method for each event type that changes its property values. Ideally, the property values for an instance of this class should be modified only through its When methods.
public abstract class AggregateState
- Inheritance
-
AggregateState
- Derived
- Inherited Members
- Extension Methods
Constructors
AggregateState()
public AggregateState()
Methods
Apply(IChange)
public void Apply(IChange change)
Parameters
changeIChange