Class MissingPropertyException
Indicates that requested property doesn't exist.
Namespace: DotNext.Reflection
Assembly: DotNext.Reflection.dll
Syntax
public sealed class MissingPropertyException : ConstraintViolationException
Constructors
| Improve this Doc View SourceMissingPropertyException(Type, String, Type)
Initializes a new exception indicating that requested property doesn't exist.
Declaration
public MissingPropertyException(Type declaringType, string propertyName, Type propertyType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | declaringType | The inspected type. |
| String | propertyName | The name of the missing property. |
| Type | propertyType | The type of the missing property. |
Properties
| Improve this Doc View SourcePropertyName
Gets name of the missing property.
Declaration
public string PropertyName { get; }
Property Value
| Type | Description |
|---|---|
| String |
PropertyType
Gets type of the missing property.
Declaration
public Type PropertyType { get; }
Property Value
| Type | Description |
|---|---|
| Type |