C# 클래스 IKVM.Reflection.Emit.TypeBuilder

상속: System.Type, ITypeOwner
파일 보기 프로젝트 열기: samskivert/ikvm-monotouch 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CheckBaked void
CreateMethodBuilder MethodBuilder
DefineNestedType TypeBuilder
DefinePropertyImpl IKVM.Reflection.Emit.PropertyBuilder
GetGenericTypeArgument System.Type
GetModuleBuilderToken int
LookupMethod MethodBase
PopulatePropertyAndEventTables void
ResolveMethodAndFieldTokens void
SetStructLayoutPseudoCustomAttribute void
TypeBuilder System
WriteFieldRecords void
WriteMethodDefRecords void
WriteParamRecords void
WriteTypeDefRecord void

공개 메소드들

메소드 설명
AddDeclarativeSecurity ( System securityAction, System permissionSet ) : void
AddInterfaceImplementation ( Type interfaceType ) : void
CreateType ( ) : Type
DefineConstructor ( MethodAttributes attribs, CallingConventions callConv, Type parameterTypes ) : IKVM.Reflection.Emit.ConstructorBuilder
DefineConstructor ( MethodAttributes attribs, CallingConventions callingConvention, Type parameterTypes, Type requiredCustomModifiers, Type optionalCustomModifiers ) : IKVM.Reflection.Emit.ConstructorBuilder
DefineDefaultConstructor ( MethodAttributes attributes ) : IKVM.Reflection.Emit.ConstructorBuilder
DefineEvent ( string name, EventAttributes attributes, Type eventtype ) : IKVM.Reflection.Emit.EventBuilder
DefineField ( string name, Type fieldType, FieldAttributes attribs ) : FieldBuilder
DefineField ( string fieldName, Type type, Type requiredCustomModifiers, Type optionalCustomModifiers, FieldAttributes attributes ) : FieldBuilder
DefineGenericParameters ( ) : IKVM.Reflection.Emit.GenericTypeParameterBuilder[]
DefineInitializedData ( string name, byte data, FieldAttributes attributes ) : FieldBuilder
DefineMethod ( string name, MethodAttributes attribs ) : MethodBuilder
DefineMethod ( string name, MethodAttributes attribs, CallingConventions callingConvention ) : MethodBuilder
DefineMethod ( string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type parameterTypes ) : MethodBuilder
DefineMethod ( string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type returnTypeRequiredCustomModifiers, Type returnTypeOptionalCustomModifiers, Type parameterTypes, Type parameterTypeRequiredCustomModifiers, Type parameterTypeOptionalCustomModifiers ) : MethodBuilder
DefineMethod ( string name, MethodAttributes attribs, Type returnType, Type parameterTypes ) : MethodBuilder
DefineMethodOverride ( MethodInfo methodInfoBody, MethodInfo methodInfoDeclaration ) : void
DefineNestedType ( string name ) : TypeBuilder
DefineNestedType ( string name, TypeAttributes attribs ) : TypeBuilder
DefineNestedType ( string name, TypeAttributes attr, Type parent ) : TypeBuilder
DefineNestedType ( string name, TypeAttributes attr, Type parent, PackingSize packSize ) : TypeBuilder
DefineNestedType ( string name, TypeAttributes attr, Type parent, Type interfaces ) : TypeBuilder
DefineNestedType ( string name, TypeAttributes attr, Type parent, int typeSize ) : TypeBuilder
DefinePInvokeMethod ( string name, string dllName, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type parameterTypes, CallingConvention nativeCallConv, CharSet nativeCharSet ) : MethodBuilder
DefinePInvokeMethod ( string name, string dllName, string entryName, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type parameterTypes, CallingConvention nativeCallConv, CharSet nativeCharSet ) : MethodBuilder
DefinePInvokeMethod ( string name, string dllName, string entryName, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type returnTypeRequiredCustomModifiers, Type returnTypeOptionalCustomModifiers, Type parameterTypes, Type parameterTypeRequiredCustomModifiers, Type parameterTypeOptionalCustomModifiers, CallingConvention nativeCallConv, CharSet nativeCharSet ) : MethodBuilder
DefineProperty ( string name, PropertyAttributes attributes, CallingConventions callingConvention, Type returnType, Type returnTypeRequiredCustomModifiers, Type returnTypeOptionalCustomModifiers, Type parameterTypes, Type parameterTypeRequiredCustomModifiers, Type parameterTypeOptionalCustomModifiers ) : IKVM.Reflection.Emit.PropertyBuilder
DefineProperty ( string name, PropertyAttributes attributes, Type returnType, Type parameterTypes ) : IKVM.Reflection.Emit.PropertyBuilder
DefineProperty ( string name, PropertyAttributes attributes, Type returnType, Type returnTypeRequiredCustomModifiers, Type returnTypeOptionalCustomModifiers, Type parameterTypes, Type parameterTypeRequiredCustomModifiers, Type parameterTypeOptionalCustomModifiers ) : IKVM.Reflection.Emit.PropertyBuilder
DefineTypeInitializer ( ) : IKVM.Reflection.Emit.ConstructorBuilder
DefineUninitializedData ( string name, int size, FieldAttributes attributes ) : FieldBuilder
GetConstructor ( Type type, ConstructorInfo constructor ) : ConstructorInfo
GetField ( Type type, FieldInfo field ) : FieldInfo
GetGenericArguments ( ) : System.Type[]
GetGenericTypeDefinition ( ) : Type
GetMethod ( Type type, MethodInfo method ) : MethodInfo
IsCreated ( ) : bool
SetCustomAttribute ( ConstructorInfo con, byte binaryAttribute ) : void
SetCustomAttribute ( CustomAttributeBuilder customBuilder ) : void
SetParent ( Type parent ) : void
__AddDeclarativeSecurity ( CustomAttributeBuilder customBuilder ) : void
__DefineNestedType ( string ns, string name ) : TypeBuilder
__GetDeclaredEvents ( ) : EventInfo[]
__GetDeclaredFields ( ) : FieldInfo[]
__GetDeclaredInterfaces ( ) : System.Type[]
__GetDeclaredMethods ( ) : MethodBase[]
__GetDeclaredProperties ( ) : PropertyInfo[]
__GetDeclaredTypes ( ) : System.Type[]
__GetGenericArgumentsOptionalCustomModifiers ( ) : System.Type[][]
__GetGenericArgumentsRequiredCustomModifiers ( ) : System.Type[][]
__SetAttributes ( TypeAttributes attributes ) : void

비공개 메소드들

메소드 설명
CheckBaked ( ) : void
CreateMethodBuilder ( string name, MethodAttributes attributes, CallingConventions callingConvention ) : MethodBuilder
DefineNestedType ( string name, TypeAttributes attr, Type parent, PackingSize packSize, int typeSize ) : TypeBuilder
DefinePropertyImpl ( string name, PropertyAttributes attributes, CallingConventions callingConvention, bool patchCallingConvention, Type returnType, Type returnTypeRequiredCustomModifiers, Type returnTypeOptionalCustomModifiers, Type parameterTypes, Type parameterTypeRequiredCustomModifiers, Type parameterTypeOptionalCustomModifiers ) : IKVM.Reflection.Emit.PropertyBuilder
GetGenericTypeArgument ( int index ) : Type
GetModuleBuilderToken ( ) : int
LookupMethod ( int token ) : MethodBase
PopulatePropertyAndEventTables ( ) : void
ResolveMethodAndFieldTokens ( int &methodToken, int &fieldToken, int &parameterToken ) : void
SetStructLayoutPseudoCustomAttribute ( CustomAttributeBuilder customBuilder ) : void
TypeBuilder ( ITypeOwner owner, string ns, string name ) : System
WriteFieldRecords ( IKVM.Reflection.Writer.MetadataWriter mw ) : void
WriteMethodDefRecords ( int baseRVA, IKVM.Reflection.Writer.MetadataWriter mw, int &paramList ) : void
WriteParamRecords ( IKVM.Reflection.Writer.MetadataWriter mw ) : void
WriteTypeDefRecord ( IKVM.Reflection.Writer.MetadataWriter mw, int &fieldList, int &methodList ) : void

메소드 상세

AddDeclarativeSecurity() 공개 메소드

public AddDeclarativeSecurity ( System securityAction, System permissionSet ) : void
securityAction System
permissionSet System
리턴 void

AddInterfaceImplementation() 공개 메소드

public AddInterfaceImplementation ( Type interfaceType ) : void
interfaceType System.Type
리턴 void

CreateType() 공개 메소드

public CreateType ( ) : Type
리턴 System.Type

DefineConstructor() 공개 메소드

public DefineConstructor ( MethodAttributes attribs, CallingConventions callConv, Type parameterTypes ) : IKVM.Reflection.Emit.ConstructorBuilder
attribs MethodAttributes
callConv CallingConventions
parameterTypes System.Type
리턴 IKVM.Reflection.Emit.ConstructorBuilder

DefineConstructor() 공개 메소드

public DefineConstructor ( MethodAttributes attribs, CallingConventions callingConvention, Type parameterTypes, Type requiredCustomModifiers, Type optionalCustomModifiers ) : IKVM.Reflection.Emit.ConstructorBuilder
attribs MethodAttributes
callingConvention CallingConventions
parameterTypes System.Type
requiredCustomModifiers System.Type
optionalCustomModifiers System.Type
리턴 IKVM.Reflection.Emit.ConstructorBuilder

DefineDefaultConstructor() 공개 메소드

public DefineDefaultConstructor ( MethodAttributes attributes ) : IKVM.Reflection.Emit.ConstructorBuilder
attributes MethodAttributes
리턴 IKVM.Reflection.Emit.ConstructorBuilder

DefineEvent() 공개 메소드

public DefineEvent ( string name, EventAttributes attributes, Type eventtype ) : IKVM.Reflection.Emit.EventBuilder
name string
attributes EventAttributes
eventtype System.Type
리턴 IKVM.Reflection.Emit.EventBuilder

DefineField() 공개 메소드

public DefineField ( string name, Type fieldType, FieldAttributes attribs ) : FieldBuilder
name string
fieldType System.Type
attribs FieldAttributes
리턴 FieldBuilder

DefineField() 공개 메소드

public DefineField ( string fieldName, Type type, Type requiredCustomModifiers, Type optionalCustomModifiers, FieldAttributes attributes ) : FieldBuilder
fieldName string
type System.Type
requiredCustomModifiers System.Type
optionalCustomModifiers System.Type
attributes FieldAttributes
리턴 FieldBuilder

DefineGenericParameters() 공개 메소드

public DefineGenericParameters ( ) : IKVM.Reflection.Emit.GenericTypeParameterBuilder[]
리턴 IKVM.Reflection.Emit.GenericTypeParameterBuilder[]

DefineInitializedData() 공개 메소드

public DefineInitializedData ( string name, byte data, FieldAttributes attributes ) : FieldBuilder
name string
data byte
attributes FieldAttributes
리턴 FieldBuilder

DefineMethod() 공개 메소드

public DefineMethod ( string name, MethodAttributes attribs ) : MethodBuilder
name string
attribs MethodAttributes
리턴 MethodBuilder

DefineMethod() 공개 메소드

public DefineMethod ( string name, MethodAttributes attribs, CallingConventions callingConvention ) : MethodBuilder
name string
attribs MethodAttributes
callingConvention CallingConventions
리턴 MethodBuilder

DefineMethod() 공개 메소드

public DefineMethod ( string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type parameterTypes ) : MethodBuilder
name string
attributes MethodAttributes
callingConvention CallingConventions
returnType System.Type
parameterTypes System.Type
리턴 MethodBuilder

DefineMethod() 공개 메소드

public DefineMethod ( string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type returnTypeRequiredCustomModifiers, Type returnTypeOptionalCustomModifiers, Type parameterTypes, Type parameterTypeRequiredCustomModifiers, Type parameterTypeOptionalCustomModifiers ) : MethodBuilder
name string
attributes MethodAttributes
callingConvention CallingConventions
returnType System.Type
returnTypeRequiredCustomModifiers System.Type
returnTypeOptionalCustomModifiers System.Type
parameterTypes System.Type
parameterTypeRequiredCustomModifiers System.Type
parameterTypeOptionalCustomModifiers System.Type
리턴 MethodBuilder

DefineMethod() 공개 메소드

public DefineMethod ( string name, MethodAttributes attribs, Type returnType, Type parameterTypes ) : MethodBuilder
name string
attribs MethodAttributes
returnType System.Type
parameterTypes System.Type
리턴 MethodBuilder

DefineMethodOverride() 공개 메소드

public DefineMethodOverride ( MethodInfo methodInfoBody, MethodInfo methodInfoDeclaration ) : void
methodInfoBody MethodInfo
methodInfoDeclaration MethodInfo
리턴 void

DefineNestedType() 공개 메소드

public DefineNestedType ( string name ) : TypeBuilder
name string
리턴 TypeBuilder

DefineNestedType() 공개 메소드

public DefineNestedType ( string name, TypeAttributes attribs ) : TypeBuilder
name string
attribs TypeAttributes
리턴 TypeBuilder

DefineNestedType() 공개 메소드

public DefineNestedType ( string name, TypeAttributes attr, Type parent ) : TypeBuilder
name string
attr TypeAttributes
parent System.Type
리턴 TypeBuilder

DefineNestedType() 공개 메소드

public DefineNestedType ( string name, TypeAttributes attr, Type parent, PackingSize packSize ) : TypeBuilder
name string
attr TypeAttributes
parent System.Type
packSize PackingSize
리턴 TypeBuilder

DefineNestedType() 공개 메소드

public DefineNestedType ( string name, TypeAttributes attr, Type parent, Type interfaces ) : TypeBuilder
name string
attr TypeAttributes
parent System.Type
interfaces System.Type
리턴 TypeBuilder

DefineNestedType() 공개 메소드

public DefineNestedType ( string name, TypeAttributes attr, Type parent, int typeSize ) : TypeBuilder
name string
attr TypeAttributes
parent System.Type
typeSize int
리턴 TypeBuilder

DefinePInvokeMethod() 공개 메소드

public DefinePInvokeMethod ( string name, string dllName, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type parameterTypes, CallingConvention nativeCallConv, CharSet nativeCharSet ) : MethodBuilder
name string
dllName string
attributes MethodAttributes
callingConvention CallingConventions
returnType System.Type
parameterTypes System.Type
nativeCallConv CallingConvention
nativeCharSet CharSet
리턴 MethodBuilder

DefinePInvokeMethod() 공개 메소드

public DefinePInvokeMethod ( string name, string dllName, string entryName, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type parameterTypes, CallingConvention nativeCallConv, CharSet nativeCharSet ) : MethodBuilder
name string
dllName string
entryName string
attributes MethodAttributes
callingConvention CallingConventions
returnType System.Type
parameterTypes System.Type
nativeCallConv CallingConvention
nativeCharSet CharSet
리턴 MethodBuilder

DefinePInvokeMethod() 공개 메소드

public DefinePInvokeMethod ( string name, string dllName, string entryName, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type returnTypeRequiredCustomModifiers, Type returnTypeOptionalCustomModifiers, Type parameterTypes, Type parameterTypeRequiredCustomModifiers, Type parameterTypeOptionalCustomModifiers, CallingConvention nativeCallConv, CharSet nativeCharSet ) : MethodBuilder
name string
dllName string
entryName string
attributes MethodAttributes
callingConvention CallingConventions
returnType System.Type
returnTypeRequiredCustomModifiers System.Type
returnTypeOptionalCustomModifiers System.Type
parameterTypes System.Type
parameterTypeRequiredCustomModifiers System.Type
parameterTypeOptionalCustomModifiers System.Type
nativeCallConv CallingConvention
nativeCharSet CharSet
리턴 MethodBuilder

DefineProperty() 공개 메소드

public DefineProperty ( string name, PropertyAttributes attributes, CallingConventions callingConvention, Type returnType, Type returnTypeRequiredCustomModifiers, Type returnTypeOptionalCustomModifiers, Type parameterTypes, Type parameterTypeRequiredCustomModifiers, Type parameterTypeOptionalCustomModifiers ) : IKVM.Reflection.Emit.PropertyBuilder
name string
attributes PropertyAttributes
callingConvention CallingConventions
returnType System.Type
returnTypeRequiredCustomModifiers System.Type
returnTypeOptionalCustomModifiers System.Type
parameterTypes System.Type
parameterTypeRequiredCustomModifiers System.Type
parameterTypeOptionalCustomModifiers System.Type
리턴 IKVM.Reflection.Emit.PropertyBuilder

DefineProperty() 공개 메소드

public DefineProperty ( string name, PropertyAttributes attributes, Type returnType, Type parameterTypes ) : IKVM.Reflection.Emit.PropertyBuilder
name string
attributes PropertyAttributes
returnType System.Type
parameterTypes System.Type
리턴 IKVM.Reflection.Emit.PropertyBuilder

DefineProperty() 공개 메소드

public DefineProperty ( string name, PropertyAttributes attributes, Type returnType, Type returnTypeRequiredCustomModifiers, Type returnTypeOptionalCustomModifiers, Type parameterTypes, Type parameterTypeRequiredCustomModifiers, Type parameterTypeOptionalCustomModifiers ) : IKVM.Reflection.Emit.PropertyBuilder
name string
attributes PropertyAttributes
returnType System.Type
returnTypeRequiredCustomModifiers System.Type
returnTypeOptionalCustomModifiers System.Type
parameterTypes System.Type
parameterTypeRequiredCustomModifiers System.Type
parameterTypeOptionalCustomModifiers System.Type
리턴 IKVM.Reflection.Emit.PropertyBuilder

DefineTypeInitializer() 공개 메소드

public DefineTypeInitializer ( ) : IKVM.Reflection.Emit.ConstructorBuilder
리턴 IKVM.Reflection.Emit.ConstructorBuilder

DefineUninitializedData() 공개 메소드

public DefineUninitializedData ( string name, int size, FieldAttributes attributes ) : FieldBuilder
name string
size int
attributes FieldAttributes
리턴 FieldBuilder

GetConstructor() 공개 정적인 메소드

public static GetConstructor ( Type type, ConstructorInfo constructor ) : ConstructorInfo
type System.Type
constructor ConstructorInfo
리턴 ConstructorInfo

GetField() 공개 정적인 메소드

public static GetField ( Type type, FieldInfo field ) : FieldInfo
type System.Type
field FieldInfo
리턴 FieldInfo

GetGenericArguments() 공개 메소드

public GetGenericArguments ( ) : System.Type[]
리턴 System.Type[]

GetGenericTypeDefinition() 공개 메소드

public GetGenericTypeDefinition ( ) : Type
리턴 System.Type

GetMethod() 공개 정적인 메소드

public static GetMethod ( Type type, MethodInfo method ) : MethodInfo
type System.Type
method MethodInfo
리턴 MethodInfo

IsCreated() 공개 메소드

public IsCreated ( ) : bool
리턴 bool

SetCustomAttribute() 공개 메소드

public SetCustomAttribute ( ConstructorInfo con, byte binaryAttribute ) : void
con ConstructorInfo
binaryAttribute byte
리턴 void

SetCustomAttribute() 공개 메소드

public SetCustomAttribute ( CustomAttributeBuilder customBuilder ) : void
customBuilder CustomAttributeBuilder
리턴 void

SetParent() 공개 메소드

public SetParent ( Type parent ) : void
parent System.Type
리턴 void

__AddDeclarativeSecurity() 공개 메소드

public __AddDeclarativeSecurity ( CustomAttributeBuilder customBuilder ) : void
customBuilder CustomAttributeBuilder
리턴 void

__DefineNestedType() 공개 메소드

public __DefineNestedType ( string ns, string name ) : TypeBuilder
ns string
name string
리턴 TypeBuilder

__GetDeclaredEvents() 공개 메소드

public __GetDeclaredEvents ( ) : EventInfo[]
리턴 EventInfo[]

__GetDeclaredFields() 공개 메소드

public __GetDeclaredFields ( ) : FieldInfo[]
리턴 FieldInfo[]

__GetDeclaredInterfaces() 공개 메소드

public __GetDeclaredInterfaces ( ) : System.Type[]
리턴 System.Type[]

__GetDeclaredMethods() 공개 메소드

public __GetDeclaredMethods ( ) : MethodBase[]
리턴 MethodBase[]

__GetDeclaredProperties() 공개 메소드

public __GetDeclaredProperties ( ) : PropertyInfo[]
리턴 PropertyInfo[]

__GetDeclaredTypes() 공개 메소드

public __GetDeclaredTypes ( ) : System.Type[]
리턴 System.Type[]

__GetGenericArgumentsOptionalCustomModifiers() 공개 메소드

public __GetGenericArgumentsOptionalCustomModifiers ( ) : System.Type[][]
리턴 System.Type[][]

__GetGenericArgumentsRequiredCustomModifiers() 공개 메소드

public __GetGenericArgumentsRequiredCustomModifiers ( ) : System.Type[][]
리턴 System.Type[][]

__SetAttributes() 공개 메소드

public __SetAttributes ( TypeAttributes attributes ) : void
attributes TypeAttributes
리턴 void