src/sys/dotnet/perwapi/PERWAPI.cs
/// <summary>
/// Add a class to this PE File
/// </summary>
/// <param name="attrSet">attributes of this class</param>
/// <param name="nsName">name space name</param>
/// <param name="name">class name</param>
/// <param name="superType">super type of this class (extends)</param>
/// <returns>a descriptor for this new class</returns>
Add a class to this PE File
Add a class to this PE File
public ClassDef AddClass(TypeAttr attrSet, string nsName, string name, Class superType) {
            ClassDef aClass = AddClass(attrSet,nsName,name);
            aClass.SuperType = superType;
            return aClass;
        }
public ClassDef AddClass ( TypeAttr attrSet , string nsName , string name , Class superType ) { ClassDef aClass = AddClass ( attrSet , nsName , name ) ; aClass . SuperType = superType ; return aClass ; }
Add a class to this PE File
Add a class to this PE File
a descriptor for this new class
a descriptor for this new class
attrSet
TypeAttr
attributes of this class
attributes of this class
nsName
string
name space name
name space name
name
string
None
superType
Class
super type of this class (extends)
super type of this class ( extends )