C# 클래스 PERWAPI.Class

The base descriptor for a class
상속: Type
파일 보기 프로젝트 열기: xored/f4 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
fieldNames string[]
fields System.Collections.ArrayList
genericParams System.Collections.ArrayList
methods System.Collections.ArrayList
name string
nameIx uint
nestedClasses System.Collections.ArrayList
special bool

공개 메소드들

메소드 설명
GetFieldDesc ( string name ) : Field

Get the descriptor for the field "name" for this class

GetFieldDescs ( ) : PERWAPI.Field[]

Get all the fields for this class

GetMethodDesc ( string name ) : Method

Get the descriptor for the method "name" of this class

GetMethodDesc ( string name, Type parTypes ) : Method

Get the descriptor for the method called "name" with the signature "parTypes"

GetMethodDesc ( string name, Type parTypes, Type optParTypes ) : Method

Get the vararg method "name(parTypes,optTypes)" for this class

GetMethodDescs ( ) : PERWAPI.Method[]

Get all the methods for this class

GetMethodDescs ( string name ) : PERWAPI.Method[]

Get all the methods of this class called "name"

GetNestedClassCount ( ) : int

How many nested classes does this class have?

GetNestedClasses ( ) : PERWAPI.Class[]

Get any nested classes of this class

GetParent ( ) : MetaDataElement

Get the owing scope of this class

Instantiate ( Type genTypes ) : ClassSpec

Instantiate this generic type with the supplied types

MakeSpecial ( ) : void

Denote this class as "special" such as a default module class

MakeValueClass ( ) : void
Name ( ) : string

Get the name of this class

NameSpace ( ) : string

Get the namespace that includes this class

RemoveField ( string name ) : void

Remove the specified field from this class

RemoveMethod ( Method meth ) : void

Remove the specified method from this class

RemoveMethod ( int ix ) : void

Remove the specified method from this class

RemoveMethod ( string name ) : void

Remove the specified method from this class

RemoveMethod ( string name, Type parTypes ) : void

Remove the specified method from this class

RemoveMethod ( string name, Type parTypes, Type optTypes ) : void

Remove the specified method from this class

TypeName ( ) : string

Get the string representation of the qualified name of this class

보호된 메소드들

메소드 설명
FindField ( string name ) : Field
GetMeths ( string name ) : ArrayList

비공개 메소드들

메소드 설명
AddToClassList ( Class nClass ) : void
AddToFieldList ( Field f ) : void
AddToList ( ArrayList list, MDTable tabIx ) : void
AddToMethodList ( Method m ) : void
Class ( ) : System
ClassName ( ) : string
GetFieldList ( ) : ArrayList
GetGenPar ( uint ix ) : Type
GetMethod ( MethSig mSig ) : Method
GetMethodList ( ) : ArrayList
GetNested ( string name ) : Class
SetBuffer ( PEReader buff ) : void
TypeDefOrRefToken ( ) : uint
TypeSig ( MemoryStream sig ) : void
isSpecial ( ) : bool
isValueType ( ) : bool

메소드 상세

FindField() 보호된 메소드

protected FindField ( string name ) : Field
name string
리턴 Field

GetFieldDesc() 공개 메소드

Get the descriptor for the field "name" for this class
public GetFieldDesc ( string name ) : Field
name string Field name
리턴 Field

GetFieldDescs() 공개 메소드

Get all the fields for this class
public GetFieldDescs ( ) : PERWAPI.Field[]
리턴 PERWAPI.Field[]

GetMethodDesc() 공개 메소드

Get the descriptor for the method "name" of this class
public GetMethodDesc ( string name ) : Method
name string The name of the method to be retrieved
리턴 Method

GetMethodDesc() 공개 메소드

Get the descriptor for the method called "name" with the signature "parTypes"
public GetMethodDesc ( string name, Type parTypes ) : Method
name string The name of the method
parTypes Type The signature of the method
리턴 Method

GetMethodDesc() 공개 메소드

Get the vararg method "name(parTypes,optTypes)" for this class
public GetMethodDesc ( string name, Type parTypes, Type optParTypes ) : Method
name string Method name
parTypes Type Method parameter types
optParTypes Type Optional parameter types
리턴 Method

GetMethodDescs() 공개 메소드

Get all the methods for this class
public GetMethodDescs ( ) : PERWAPI.Method[]
리턴 PERWAPI.Method[]

GetMethodDescs() 공개 메소드

Get all the methods of this class called "name"
public GetMethodDescs ( string name ) : PERWAPI.Method[]
name string The method name
리턴 PERWAPI.Method[]

GetMeths() 보호된 메소드

protected GetMeths ( string name ) : ArrayList
name string
리턴 System.Collections.ArrayList

GetNestedClassCount() 공개 메소드

How many nested classes does this class have?
public GetNestedClassCount ( ) : int
리턴 int

GetNestedClasses() 공개 메소드

Get any nested classes of this class
public GetNestedClasses ( ) : PERWAPI.Class[]
리턴 PERWAPI.Class[]

GetParent() 공개 추상적인 메소드

Get the owing scope of this class
public abstract GetParent ( ) : MetaDataElement
리턴 MetaDataElement

Instantiate() 공개 메소드

Instantiate this generic type with the supplied types
public Instantiate ( Type genTypes ) : ClassSpec
genTypes Type types to instantiate with
리턴 ClassSpec

MakeSpecial() 공개 메소드

Denote this class as "special" such as a default module class
public MakeSpecial ( ) : void
리턴 void

MakeValueClass() 공개 메소드

public MakeValueClass ( ) : void
리턴 void

Name() 공개 메소드

Get the name of this class
public Name ( ) : string
리턴 string

NameSpace() 공개 메소드

Get the namespace that includes this class
public NameSpace ( ) : string
리턴 string

RemoveField() 공개 메소드

Remove the specified field from this class
public RemoveField ( string name ) : void
name string field name
리턴 void

RemoveMethod() 공개 메소드

Remove the specified method from this class
public RemoveMethod ( Method meth ) : void
meth Method method descriptor
리턴 void

RemoveMethod() 공개 메소드

Remove the specified method from this class
public RemoveMethod ( int ix ) : void
ix int index into list of methods for specified method
리턴 void

RemoveMethod() 공개 메소드

Remove the specified method from this class
public RemoveMethod ( string name ) : void
name string method name
리턴 void

RemoveMethod() 공개 메소드

Remove the specified method from this class
public RemoveMethod ( string name, Type parTypes ) : void
name string method name
parTypes Type method parameter types
리턴 void

RemoveMethod() 공개 메소드

Remove the specified method from this class
public RemoveMethod ( string name, Type parTypes, Type optTypes ) : void
name string method name
parTypes Type method parameter types
optTypes Type optional method parameter types
리턴 void

TypeName() 공개 메소드

Get the string representation of the qualified name of this class
public TypeName ( ) : string
리턴 string

프로퍼티 상세

fieldNames 보호되어 있는 프로퍼티

protected string[] fieldNames
리턴 string[]

fields 보호되어 있는 프로퍼티

protected ArrayList,System.Collections fields
리턴 System.Collections.ArrayList

genericParams 보호되어 있는 프로퍼티

protected ArrayList,System.Collections genericParams
리턴 System.Collections.ArrayList

methods 보호되어 있는 프로퍼티

protected ArrayList,System.Collections methods
리턴 System.Collections.ArrayList

name 보호되어 있는 프로퍼티

protected string name
리턴 string

nameIx 보호되어 있는 프로퍼티

protected uint nameIx
리턴 uint

nestedClasses 보호되어 있는 프로퍼티

protected ArrayList,System.Collections nestedClasses
리턴 System.Collections.ArrayList

special 보호되어 있는 프로퍼티

protected bool special
리턴 bool