Class InvalidPropertyExpression
- Namespace
- Cratis.Chronicle.Projections
- Assembly
- Cratis.Chronicle.dll
The exception that is thrown when a projection builder accessor is not a supported member-access expression.
public class InvalidPropertyExpression : Exception, ISerializable
- Inheritance
-
InvalidPropertyExpression
- Implements
- Inherited Members
- Extension Methods
Remarks
Initializes a new instance of the InvalidPropertyExpression class.
Constructors
InvalidPropertyExpression(string, Expression)
The exception that is thrown when a projection builder accessor is not a supported member-access expression.
public InvalidPropertyExpression(string target, Expression expression)
Parameters
targetstringA description of what the expression was mapping (the projection, target property, or key).
expressionExpressionThe offending Expression.
Remarks
Initializes a new instance of the InvalidPropertyExpression class.