Class MissingEventException
Indicates that requested event doesn't exist.
Namespace: DotNext.Reflection
Assembly: DotNext.Reflection.dll
Syntax
public sealed class MissingEventException : ConstraintViolationException
Constructors
| Improve this Doc View SourceMissingEventException(Type, String, Type)
Initializes a new exception indicating that requested event doesn't exist.
Declaration
public MissingEventException(Type declaringType, string eventName, Type handlerType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | declaringType | The inspected type. |
| String | eventName | The name of the event. |
| Type | handlerType | The type of the event handler. |
Properties
| Improve this Doc View SourceEventName
Gets name of the missing event.
Declaration
public string EventName { get; }
Property Value
| Type | Description |
|---|---|
| String |
HandlerType
Gets event handler type.
Declaration
public Type HandlerType { get; }
Property Value
| Type | Description |
|---|---|
| Type |