Show / Hide Table of Contents

Class DelegateType

Provides specialized reflection methods for delegate types.

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

Methods

| Edit this page View Source

GetInvokeMethod<TDelegate>()

Returns special Invoke method generate for each delegate type.

Declaration
public static MethodInfo GetInvokeMethod<TDelegate>() where TDelegate : Delegate
Returns
Type Description
MethodInfo

An object representing reflected method Invoke.

Type Parameters
Name Description
TDelegate

Type of delegate.

Exceptions
Type Condition
GenericArgumentException<T>

TDelegate is not a concrete delegate type.

  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾