Class AggregateRoot<TState>
- Namespace
- Cratis.Chronicle.Aggregates
- Assembly
- Cratis.Chronicle.dll
Represents a stateful implementation of IAggregateRoot.
public class AggregateRoot<TState> : AggregateRoot, IAggregateRoot
Type Parameters
TState
Type of state for the aggregate root.
- Inheritance
-
AggregateRoot<TState>
- Implements
- Inherited Members
- Extension Methods
Properties
State
Gets the current state of the aggregate root.
protected TState? State { get; }
Property Value
- TState