메소드 | 설명 | |
---|---|---|
Emitter ( ) : System |
Uninitialized Emitter - must call init().
|
|
Emitter ( string assemblyName ) : System |
Convenience for init().
|
|
Emitter ( string assemblyName, string stubFileName ) : System | ||
addToMethodMap ( string className, string name, string paramTypes, |
Add a MethodDef into the lookup table.
|
|
commit ( ) : byte[] |
Commit the current definition to the PE file.
|
|
emitClass ( string baseQName, string qname, string interfaces, TypeAttr attr ) : void |
Define a new class to emit for this assembly. This class becomes the 'current' class, where subsequent EmitMethod and EmitField calls will popuate this class.
|
|
emitField ( string name, string type, FieldAttr attr ) : void |
Define a new field to emit for the current class.
|
|
emitMethod ( string name, string retType, string paramNames, string paramTypes, MethAttr attr, string localNames, string localTypes ) : |
Define a new method to emit for the current class.
|
|
init ( string assemblyName ) : void |
Initialize an Emitter to generate types for an assembly with the given name.
|
|
init ( string assemblyName, string stubName ) : void |
메소드 | 설명 | |
---|---|---|
findField ( string qname, string fieldName, string fieldType ) : |
Find the Field for this field on the given type.
|
|
findMethod ( string qname, string methodName, string paramTypes, string returnType ) : |
Find the Method for this method on the given type.
|
|
findType ( string qname ) : |
Find the Type instance for this fully qualified type name.
|
|
getMethodKey ( string qname, string methodName, string paramTypes ) : string |
Return the key for this method in the method lookup table.
|
public Emitter ( string assemblyName, string stubFileName ) : System | ||
assemblyName | string | |
stubFileName | string | |
리턴 | System |
public addToMethodMap ( string className, string name, string paramTypes, |
||
className | string | |
name | string | |
paramTypes | string | |
def | ||
리턴 | void |
public emitClass ( string baseQName, string qname, string interfaces, TypeAttr attr ) : void | ||
baseQName | string | |
qname | string | |
interfaces | string | |
attr | TypeAttr | |
리턴 | void |
public emitField ( string name, string type, FieldAttr attr ) : void | ||
name | string | |
type | string | |
attr | FieldAttr | |
리턴 | void |
public emitMethod ( string name, string retType, string paramNames, string paramTypes, MethAttr attr, string localNames, string localTypes ) : |
||
name | string | |
retType | string | |
paramNames | string | |
paramTypes | string | |
attr | MethAttr | |
localNames | string | |
localTypes | string | |
리턴 |
public init ( string assemblyName, string stubName ) : void | ||
assemblyName | string | |
stubName | string | |
리턴 | void |