C# Class EventWasAppliedByOtherAggregateRoot, Runtime

Exception that gets thrown when an event is being used with an Aggregate Root with a different Type than it was applied by.
Inheritance: ArgumentException
显示文件 Open project: dolittle/Runtime

Public Methods

Method Description
EventWasAppliedByOtherAggregateRoot ( EventSourceId eventSource, ArtifactId eventAggregateRoot, ArtifactId aggregateRoot ) : System,

Initializes a new instance of the EventWasAppliedByOtherAggregateRoot class.

Method Details

EventWasAppliedByOtherAggregateRoot() public method

Initializes a new instance of the EventWasAppliedByOtherAggregateRoot class.
public EventWasAppliedByOtherAggregateRoot ( EventSourceId eventSource, ArtifactId eventAggregateRoot, ArtifactId aggregateRoot ) : System,
eventSource EventSourceId The .
eventAggregateRoot ArtifactId Type the Event was applied by.
aggregateRoot ArtifactId of the Aggregate Root.
return System,