Class DelegateType
Provides specialized reflection methods for delegate types.
Inherited Members
Namespace: DotNext.Reflection
Assembly: DotNext.dll
Syntax
public static class DelegateType
Methods
View Sourceget_InvokeMethod<TDelegate>()
Returns special Invoke method generate for each delegate type.
Declaration
public static MethodInfo get_InvokeMethod<TDelegate>() where TDelegate : notnull, Delegate
Returns
| Type | Description |
|---|---|
| MethodInfo | An object representing reflected method Invoke. |
Type Parameters
| Name | Description |
|---|---|
| TDelegate |
Exceptions
| Type | Condition |
|---|---|
| GenericArgumentException<T> |
|
get_IsDelegate(Type)
Gets a value indicating that the type represents a delegate.
Declaration
public static bool get_IsDelegate(Type delegateType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | delegateType |
Returns
| Type | Description |
|---|---|
| bool |