C# Class NextAggregateRootVersionMustBeGreaterThanCurrentVersion, Runtime

Exception that gets thrown when attempting to decrease the version of an aggregate root instance.
Inheritance: Exception
显示文件 Open project: dolittle/Runtime

Public Methods

Method Description
NextAggregateRootVersionMustBeGreaterThanCurrentVersion ( EventSourceId eventSource, ArtifactId aggregateRoot, AggregateRootVersion currentVersion, AggregateRootVersion nextVersion ) : System,

Initializes a new instance of the NextAggregateRootVersionMustBeGreaterThanCurrentVersion class.

Method Details

NextAggregateRootVersionMustBeGreaterThanCurrentVersion() public method

Initializes a new instance of the NextAggregateRootVersionMustBeGreaterThanCurrentVersion class.
public NextAggregateRootVersionMustBeGreaterThanCurrentVersion ( EventSourceId eventSource, ArtifactId aggregateRoot, AggregateRootVersion currentVersion, AggregateRootVersion nextVersion ) : System,
eventSource EventSourceId The .
aggregateRoot ArtifactId The aggregate root id.
currentVersion AggregateRootVersion The current of the aggregate root instance.
nextVersion AggregateRootVersion The that was attempted to set on the aggregate root instance.
return System,