Table of Contents

TracedAggregateRoot Constructor

Definition

Namespace
Savvyio.Domain.EventSourcing
Assemblies
Savvyio.Domain.EventSourcing.dll
Source
src/Savvyio.Domain.EventSourcing/TracedAggregateRoot.cs

TracedAggregateRoot(IMetadata)

Initializes a new instance of the TracedAggregateRoot<TKey> class.

protected TracedAggregateRoot(IMetadata metadata = null)

Parameters

metadata IMetadata

The optional metadata to merge with this instance.

TracedAggregateRoot(TKey, IEnumerable<ITracedDomainEvent>)

Initializes a new instance of the TracedAggregateRoot<TKey> class.

protected TracedAggregateRoot(TKey id, IEnumerable<ITracedDomainEvent> events)

Parameters

id TKey

The identifier of the entity.

events IEnumerable<ITracedDomainEvent>

The events to rehydrate from.