Table of Contents

Class DelegateTypeExtensions

Namespace
Garyon.Reflection
Assembly
Garyon.dll

Provides extensions for delegate Type objects.

public static class DelegateTypeExtensions
Inheritance
DelegateTypeExtensions
Inherited Members

Methods

GetDelegateParameterTypes(Type)

Gets the types of the parameters of the delegate.

public static Type[] GetDelegateParameterTypes(this Type delegateType)

Parameters

delegateType Type

The type of the delegate whose parameter types to get.

Returns

Type[]

An array containing the types of the parameters of the delegate.

GetDelegateParameterTypes<T>()

Gets the types of the parameters of the delegate.

public static Type[] GetDelegateParameterTypes<T>() where T : Delegate

Returns

Type[]

An array containing the types of the parameters of the delegate.

Type Parameters

T

The type of the delegate whose parameter types to get.