Class to inherit all aggregates from.

public abstract class AggregateRoot<TAggregate, TAggregateId>: IAggregateRoot<TAggregateId> where TAggregate : Redakt.EventSourcing.Aggregates.AggregateRoot<TAggregate, TAggregateId>, TAggregateId : Redakt.EventSourcing.IAggregateId
Inheritance:
ObjectAggregateRoot<TAggregate, TAggregateId>
Implements:
IAggregateRoot<TAggregateId>

Constructors

AggregateRoot()

Properties

Id
AggregateVersion

Methods

ApplyChange<TEvent>(TEvent)
GetUncommittedEvents()
ClearUncommittedEvents()
ApplyEvent(IAggregateEvent)

Derived types

AccessControlListAggregate
ContentAggregate
DictionaryCategoryAggregate
DictionaryItemAggregate
FileDescriptorAggregate
NodeAggregate
NodeCollectionAggregate
UserAggregate
UserGroupAggregate