Click or drag to resize

TypeInfoUtilsCreateDelegate Method

Creates a delegate of the specified type that represents the specified static or instance method, with the specified first argument.

Namespace:  Slash.Unity.DataBind.Core.Utils
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static Delegate CreateDelegate(
	Type type,
	Object target,
	MethodInfo method
)

Parameters

type
Type: SystemType
The Type of delegate to create.
target
Type: SystemObject
The object to which the delegate is bound, or null to treat method as static.
method
Type: System.ReflectionMethodInfo
The MethodInfo describing the static or instance method the delegate is to represent.

Return Value

Type: Delegate
A delegate of the specified type that represents the specified static or instance method.
See Also