C# Class DomainEventsRequiredException, azure-cosmos-dotnet-repository

An exception that is thrown when not events are provided to an IAggregateRoot.
An IAggregateRoot must be provided at least one DomainEvent when replaying events
Inheritance: Exception
ファイルを表示 Open project: IEvangelist/azure-cosmos-dotnet-repository

Public Methods

Method Description
DomainEventsRequiredException ( Type, aggregateRootType ) : Microsoft.Azure.CosmosEventSourcing.Aggregates

Creates a DomainEventsRequiredException.

Method Details

DomainEventsRequiredException() public method

Creates a DomainEventsRequiredException.
public DomainEventsRequiredException ( Type, aggregateRootType ) : Microsoft.Azure.CosmosEventSourcing.Aggregates
aggregateRootType Type,
return Microsoft.Azure.CosmosEventSourcing.Aggregates