Defines a new delegate type.

Namespace:  NHibernate.Bytecode
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function DefineDelegateType ( _
	fullTypeName As String, _
	moduleBuilder As ModuleBuilder, _
	returnType As Type, _
	parameterTypes As Type() _
) As Type
C#
public static Type DefineDelegateType(
	string fullTypeName,
	ModuleBuilder moduleBuilder,
	Type returnType,
	Type[] parameterTypes
)
Visual C++
public:
static Type^ DefineDelegateType(
	String^ fullTypeName, 
	ModuleBuilder^ moduleBuilder, 
	Type^ returnType, 
	array<Type^>^ parameterTypes
)
JavaScript
NHibernate.Bytecode.EmitUtil.defineDelegateType = function(fullTypeName, moduleBuilder, returnType, parameterTypes);

Parameters

fullTypeName
Type: System..::.String
moduleBuilder
Type: System.Reflection.Emit..::.ModuleBuilder
returnType
Type: System..::.Type
parameterTypes
Type: array< System..::.Type >[]()[]

See Also