Class TypeMustImplementReducer
- Namespace
- Cratis.Chronicle.Reducers.Validators
- Assembly
- Cratis.Chronicle.dll
Exception that gets thrown when a type does not implement IReducerFor<TReadModel>.
public class TypeMustImplementReducer : Exception, ISerializable
- Inheritance
-
TypeMustImplementReducer
- Implements
- Inherited Members
- Extension Methods
Remarks
Initializes a new instance of TypeMustImplementReducer.
Constructors
TypeMustImplementReducer(Type)
Exception that gets thrown when a type does not implement IReducerFor<TReadModel>.
public TypeMustImplementReducer(Type type)
Parameters
typeTypeViolating type.
Remarks
Initializes a new instance of TypeMustImplementReducer.
Methods
ThrowIfTypeDoesNotImplementReducer(Type)
Throw if the type does not implement IReducerFor<TReadModel>.
public static void ThrowIfTypeDoesNotImplementReducer(Type type)
Parameters
typeTypeType to check.
Exceptions
- TypeMustImplementReducer
Thrown if type does not implement a reducer.