Class MissingAttributeException
Indicates that requested attribute doesn't exist.
Namespace: DotNext.Reflection
Assembly: DotNext.Reflection.dll
Syntax
public sealed class MissingAttributeException : ConstraintViolationException
Constructors
| Improve this Doc View SourceMissingAttributeException(Type, Type)
Initializes a new exception indicating that requested attribute doesn't exist.
Declaration
public MissingAttributeException(Type target, Type attributeType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | target | The inspected type. |
| Type | attributeType | The type of missing attribute. |
Properties
| Improve this Doc View SourceAttributeType
Gets type of missing attribute.
Declaration
public Type AttributeType { get; }
Property Value
| Type | Description |
|---|---|
| Type |