EfCoreTracedAggregateEntity Constructor
Definition
- Namespace
- Savvyio.Extensions.EFCore.Domain.EventSourcing
- Assemblies
- Savvyio.Extensions.EFCore.Domain.EventSourcing.dll
EfCoreTracedAggregateEntity(TEntity, ITracedDomainEvent, IMarshaller)
Initializes a new instance of the EfCoreTracedAggregateEntity<TEntity, TKey> class.
public EfCoreTracedAggregateEntity(TEntity aggregate, ITracedDomainEvent domainEvent, IMarshaller marshaller)
Parameters
aggregateTEntityThe traced aggregate to convert into this EF Core compatible instance.
domainEventITracedDomainEventThe traced domain event to convert into this EF Core compatible instance.
marshallerIMarshallerThe IMarshaller that is used when converting ITracedDomainEvent into a serialized format.