Class ReadModelAlreadyHasProjection

Namespace
Cratis.Chronicle.Projections
Assembly
Cratis.Chronicle.dll

The exception that is thrown when a projection is registered explicitly for a read model that another projection already maintains.

public class ReadModelAlreadyHasProjection : Exception, ISerializable
Inheritance
ReadModelAlreadyHasProjection
Implements
Inherited Members
Extension Methods

Constructors

ReadModelAlreadyHasProjection(Type, ProjectionId, ProjectionId)

The exception that is thrown when a projection is registered explicitly for a read model that another projection already maintains.

public ReadModelAlreadyHasProjection(Type readModelType, ProjectionId existingProjectionId, ProjectionId projectionId)

Parameters

readModelType Type

The read model type.

existingProjectionId ProjectionId

The ProjectionId of the projection already maintaining the read model.

projectionId ProjectionId

The ProjectionId of the projection being registered.