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
readModelTypeTypeThe read model type.
existingProjectionIdProjectionIdThe ProjectionId of the projection already maintaining the read model.
projectionIdProjectionIdThe ProjectionId of the projection being registered.