메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 |
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. |
리턴 |
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. |
리턴 | void |
public static DefineGenericParameters ( this typeBuilder, |
||
typeBuilder | this | The type builder. |
genericTypes | The generic types. | |
리턴 | 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. |
리턴 |
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. |
리턴 | void |
public static SetCustomAttribute ( this typeBuilder, |
||
typeBuilder | this | The type builder. |
constructorInfo | The constructor information. | |
arguments | object | The constructor arguments. |
리턴 | void |