Class InvalidLookUpBy
- Namespace
- Cratis.Arc.Commands
- Assembly
- Cratis.Arc.Core.dll
The exception that is thrown when a lookup declaration names no command property or targets no read model.
public class InvalidLookUpBy : Exception, ISerializable
- Inheritance
-
InvalidLookUpBy
- Implements
- Inherited Members
- Extension Methods
Constructors
InvalidLookUpBy(Type, string)
The exception that is thrown when a lookup declaration names no command property or targets no read model.
public InvalidLookUpBy(Type commandType, string property)
Parameters
InvalidLookUpBy(Type, string, string)
Initializes a refusal for a lookup that cannot select this model's key.
public InvalidLookUpBy(Type commandType, string property, string reason)
Parameters
commandTypeTypeThe command type.
propertystringThe declared command property.
reasonstringWhy this lookup is not supported.
Properties
Message
public override string Message { get; }