Show / Hide Table of Contents

Class DelegateType

Provides specialized reflection methods for delegate types.

Inheritance
object
DelegateType
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: DotNext.Reflection
Assembly: DotNext.dll
Syntax
public static class DelegateType

Methods

View Source

get_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>

TDelegate is not a concrete delegate type.

View Source

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
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾