Method | Description | |
---|---|---|
DefineConstructor ( this typeBuilder, |
Defines a constructor based on the specified constructor.
|
|
DefineConstructor ( this typeBuilder, MethodAttributes methodAttributes, CallingConventions callingConvention, |
Defines a constructor.
|
|
DefineEvent ( this typeBuilder, |
Defines an event based on the specified event.
|
|
DefineGenericParameters ( this typeBuilder, |
Defines the generic type parameters. Custom attributes are not considered by this method. |
|
DefineMethod ( this typeBuilder, |
Defines a method based on the specified method.
|
|
DefineProperty ( this typeBuilder, |
Defines a property based on the specified property.
|
|
SetCustomAttribute ( this typeBuilder, |
Sets the specified custom attribute.
|
Method | Description | |
---|---|---|
DefineParameters ( this constructorBuilder, |
Defines the constructor parameters based on the specified constructor.
|
|
DefineParameters ( this constructorBuilder, IEnumerable |
Defines the constructor parameters.
|
public static DefineConstructor ( this typeBuilder, |
||
typeBuilder | this | The type builder. |
constructorInfo | The constructor information. | |
additionalParameterTypes | IEnumerable |
The additional parameter types. |
additionalParameterNames | IEnumerable |
The additional parameter names. |
return |
public static DefineConstructor ( this typeBuilder, MethodAttributes methodAttributes, CallingConventions callingConvention, |
||
typeBuilder | this | The type builder. |
methodAttributes | MethodAttributes | The method attributes. |
callingConvention | CallingConventions | The calling convention. |
parameterTypes | The parameter types. | |
parameterNames | string | The parameter names. |
return |
public static DefineEvent ( this typeBuilder, |
||
typeBuilder | this | The type builder. |
eventInfo | The event information. | |
isExplicit | bool | A value indicating whether the specified event should be implemented explicitly. |
methodBuilderFactory | Func |
The method builder factory function. |
return | void |
public static DefineGenericParameters ( this typeBuilder, |
||
typeBuilder | this | The type builder. |
genericTypes | The generic types. | |
return | System.Type[] |
public static DefineMethod ( this typeBuilder, |
||
typeBuilder | this | The type builder. |
methodInfo | The method information. | |
isExplicit | bool | A value indicating whether the specified method should be implemented explicitly. |
isOverride | bool | A value indicating whether the specified method should be overridden. |
return |
public static DefineProperty ( this typeBuilder, |
||
typeBuilder | this | The type builder. |
propertyInfo | The property information. | |
isExplicit | bool | A value indicating whether the specified property should be implemented explicitly. |
methodBuilderFactory | Func |
The method builder factory function. |
return | void |
public static SetCustomAttribute ( this typeBuilder, |
||
typeBuilder | this | The type builder. |
constructorInfo | The constructor information. | |
arguments | object | The constructor arguments. |
return | void |