Table of Contents

IAggregateRoot<TEvent> Interface

Definition

Namespace
Savvyio.Domain
Assemblies
Savvyio.Core.dll
Source
src/Savvyio.Core/Domain/IAggregateRoot.cs

Defines an Event based contract of an Aggregate as specified in Domain Driven Design.

public interface IAggregateRoot<out TEvent> : IAggregateRoot, IMetadata

Type Parameters

TEvent

The type of the event that implements the IDomainEvent interface.

Inherited Members
Extension Methods

Properties

Name Description
Events

Gets the events that was added to the Aggregate.

Methods

Name Description
RemoveAllEvents()

Removes all events from the Aggregate.

See Also