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

| Improve this Doc 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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX