Table of Contents

EfCoreTracedAggregateEntity Constructor

Definition

Namespace
Savvyio.Extensions.EFCore.Domain.EventSourcing
Assemblies
Savvyio.Extensions.EFCore.Domain.EventSourcing.dll
Source
src/Savvyio.Extensions.EFCore.Domain.EventSourcing/EfCoreTracedAggregateEntity.cs

EfCoreTracedAggregateEntity(TEntity, ITracedDomainEvent, IMarshaller)

Initializes a new instance of the EfCoreTracedAggregateEntity<TEntity, TKey> class.

public EfCoreTracedAggregateEntity(TEntity aggregate, ITracedDomainEvent domainEvent, IMarshaller marshaller)

Parameters

aggregate TEntity

The traced aggregate to convert into this EF Core compatible instance.

domainEvent ITracedDomainEvent

The traced domain event to convert into this EF Core compatible instance.

marshaller IMarshaller

The IMarshaller that is used when converting ITracedDomainEvent into a serialized format.