Свойство | Тип | Описание | |
---|---|---|---|
defaultClass | ClassDef | ||
ismscorlib | bool | ||
resources | ArrayList |
Метод | Описание | |
---|---|---|
AddClass ( TypeAttr attrSet, string nsName, string name ) : |
Add a class to this Module If this class already exists, throw an exception
|
|
AddClass ( TypeAttr attrSet, string nsName, string name, |
Add a class to this PE File
|
|
AddClass ( |
Add a class to this module If this class already exists, throw an exception
|
|
AddField ( FieldAttr attrSet, string name, Type fType ) : |
Add a "global" field to this module
|
|
AddField ( string name, Type fType ) : |
Add a "global" field to this module
|
|
AddField ( |
Add a "global" field to this module
|
|
AddMethod ( MethAttr mAtts, ImplAttr iAtts, string name, |
Add a "global" method to this module
|
|
AddMethod ( MethAttr mAtts, ImplAttr iAtts, string name, Type retType, |
Add a "global" method to this module
|
|
AddMethod ( string name, |
Add a "global" method to this module
|
|
AddMethod ( string name, Type retType, |
Add a "global" method to this module
|
|
AddMethod ( |
Add a "global" method to this module
|
|
AddValueClass ( TypeAttr attrSet, string nsName, string name ) : |
Add a class which extends System.ValueType to this Module If this class already exists, throw an exception
|
|
GetClass ( string name ) : |
Get a class of this module, if no class exists, return null
|
|
GetClass ( string nsName, string name ) : |
Get a class of this module, if no class exists, return null
|
|
GetClasses ( ) : PERWAPI.ClassDef[] |
Get all the classes of this module
|
|
GetField ( string name ) : |
Get a field of this module, if it exists
|
|
GetFields ( ) : PERWAPI.FieldDef[] |
Get all the fields of this module
|
|
GetMVid ( ) : System.Guid | ||
GetMethod ( string name ) : |
Get a method of this module, if it exists
|
|
GetMethod ( string name, Type parTypes ) : |
Get a method of this module, if it exists
|
|
GetMethods ( ) : PERWAPI.MethodDef[] |
Get all the methods of this module
|
|
GetMethods ( string name ) : PERWAPI.MethodDef[] |
Get all the methods of this module with a specified name
|
|
MakeRefOf ( ) : |
Make a ModuleRef for this Module.
|
|
RemoveMethod ( MethodDef meth ) : void |
Delete a method from this module
|
|
RemoveMethod ( int ix ) : void |
Delete a method from this module
|
|
RemoveMethod ( string name ) : void |
Delete a method from this module
|
|
RemoveMethod ( string name, Type parTypes ) : void |
Delete a method from this module
|
|
SetMVid ( Guid guid ) : void | ||
SetName ( string newName ) : void |
Set the name for this module
|
Метод | Описание | |
---|---|---|
BuildTables ( |
||
GetBaseName ( string name ) : string | ||
GetCodedIx ( CIx code ) : uint | ||
Module ( string mName ) : System | ||
Read ( |
||
ReadModuleRef ( PEReader buff ) : ModuleRef | ||
SetDefaultClass ( ClassDef dClass ) : void | ||
Size ( MetaData md ) : uint | ||
Write ( PEWriter output ) : void | ||
isDefaultClass ( ClassDef aClass ) : bool | ||
isMSCorLib ( ) : bool |
public AddClass ( TypeAttr attrSet, string nsName, string name ) : |
||
attrSet | TypeAttr | attributes of this class |
nsName | string | name space name |
name | string | class name |
Результат |
public AddClass ( TypeAttr attrSet, string nsName, string name, |
||
attrSet | TypeAttr | attributes of this class |
nsName | string | name space name |
name | string | class name |
superType | super type of this class (extends) | |
Результат |
public AddClass ( |
||
aClass | The class to be added | |
Результат | void |
public AddField ( FieldAttr attrSet, string name, Type fType ) : |
||
attrSet | FieldAttr | attributes of this field |
name | string | field name |
fType | Type | field type |
Результат |
public AddField ( string name, Type fType ) : |
||
name | string | field name |
fType | Type | field type |
Результат |
public AddField ( |
||
fld | The field to be added | |
Результат | void |
public AddMethod ( MethAttr mAtts, ImplAttr iAtts, string name, |
||
mAtts | MethAttr | method attributes |
iAtts | ImplAttr | method implementation attributes |
name | string | method name |
genPars | generic parameters | |
retType | Type | return type |
pars | method parameters | |
Результат |
public AddMethod ( MethAttr mAtts, ImplAttr iAtts, string name, Type retType, |
||
mAtts | MethAttr | method attributes |
iAtts | ImplAttr | method implementation attributes |
name | string | method name |
retType | Type | return type |
pars | method parameters | |
Результат |
public AddMethod ( string name, |
||
name | string | method name |
genPars | generic parameters | |
retType | Type | return type |
pars | method parameters | |
Результат |
public AddMethod ( string name, Type retType, |
||
name | string | method name |
retType | Type | return type |
pars | method parameters | |
Результат |
public AddMethod ( |
||
meth | The method to be added | |
Результат | void |
public AddValueClass ( TypeAttr attrSet, string nsName, string name ) : |
||
attrSet | TypeAttr | attributes of this class |
nsName | string | name space name |
name | string | class name |
Результат |
public GetClass ( string name ) : |
||
name | string | The name of the class to get |
Результат |
public GetClass ( string nsName, string name ) : |
||
nsName | string | The namespace of the class |
name | string | The name of the class to get |
Результат |
public GetClasses ( ) : PERWAPI.ClassDef[] | ||
Результат | PERWAPI.ClassDef[] |
public GetField ( string name ) : |
||
name | string | The name of the field |
Результат |
public GetMethod ( string name ) : |
||
name | string | The name of the method to get |
Результат |
public GetMethod ( string name, Type parTypes ) : |
||
name | string | The name of the method to get |
parTypes | Type | The signature of the method |
Результат |
public GetMethods ( ) : PERWAPI.MethodDef[] | ||
Результат | PERWAPI.MethodDef[] |
public GetMethods ( string name ) : PERWAPI.MethodDef[] | ||
name | string | The name of the method(s) |
Результат | PERWAPI.MethodDef[] |
public RemoveMethod ( MethodDef meth ) : void | ||
meth | MethodDef | The method to be deleted |
Результат | void |
public RemoveMethod ( int ix ) : void | ||
ix | int | The index of the method (in the method array /// returned by GetMethods()) to be deleted |
Результат | void |
public RemoveMethod ( string name ) : void | ||
name | string | The name of the method to be deleted |
Результат | void |
public RemoveMethod ( string name, Type parTypes ) : void | ||
name | string | The name of the method to be deleted |
parTypes | Type | The signature of the method to be deleted |
Результат | void |
public SetName ( string newName ) : void | ||
newName | string | New module name |
Результат | void |