C# Class BTDB.IL.ILDynamicTypeImpl

Inheritance: IILDynamicType
Mostra file Open project: Bobris/BTDB

Public Methods

Method Description
CreateType ( ) : Type
DefineConstructor ( Type parameters ) : IILMethod
DefineEvent ( string name, EventAttributes eventAttributes, Type type ) : IILEvent
DefineField ( string name, Type type, FieldAttributes fieldAttributes ) : IILField
DefineMethod ( string name, Type returns, Type parameters, MethodAttributes methodAttributes = MethodAttributes.Public ) : IILMethod
DefineMethodOverride ( IILMethod methodBuilder, MethodInfo baseMethod ) : void
ILDynamicTypeImpl ( string name, Type baseType, Type interfaces ) : System

Method Details

CreateType() public method

public CreateType ( ) : Type
return System.Type

DefineConstructor() public method

public DefineConstructor ( Type parameters ) : IILMethod
parameters System.Type
return IILMethod

DefineEvent() public method

public DefineEvent ( string name, EventAttributes eventAttributes, Type type ) : IILEvent
name string
eventAttributes EventAttributes
type System.Type
return IILEvent

DefineField() public method

public DefineField ( string name, Type type, FieldAttributes fieldAttributes ) : IILField
name string
type System.Type
fieldAttributes FieldAttributes
return IILField

DefineMethod() public method

public DefineMethod ( string name, Type returns, Type parameters, MethodAttributes methodAttributes = MethodAttributes.Public ) : IILMethod
name string
returns System.Type
parameters System.Type
methodAttributes MethodAttributes
return IILMethod

DefineMethodOverride() public method

public DefineMethodOverride ( IILMethod methodBuilder, MethodInfo baseMethod ) : void
methodBuilder IILMethod
baseMethod System.Reflection.MethodInfo
return void

ILDynamicTypeImpl() public method

public ILDynamicTypeImpl ( string name, Type baseType, Type interfaces ) : System
name string
baseType System.Type
interfaces System.Type
return System