C# 클래스 CsDebugScript.CodeGen.UserTypes.GlobalsUserType

User type that represents static class for getting global variables located in Module.
상속: UserType
파일 보기 프로젝트 열기: southpolenator/WinDbgCs 1 사용 예제들

공개 메소드들

메소드 설명
GlobalsUserType ( Symbol symbol, XmlType xmlType, string nameSpace ) : System.Collections.Generic

Initializes a new instance of the GlobalsUserType class.

보호된 메소드들

메소드 설명
ExtractFields ( UserTypeFactory factory, UserTypeGenerationFlags generationFlags ) : IEnumerable

Extracts all fields from the user type.

GenerateConstructors ( UserTypeGenerationFlags generationFlags ) : IEnumerable

Generates the constructors.

GetBaseClassTypeTree ( TextWriter error, Symbol type, UserTypeFactory factory, int &baseClassOffset ) : TypeTree

Gets the type tree for the base class. If class has multi inheritance, it can return MultiClassInheritanceTypeTree or SingleClassInheritanceWithInterfacesTypeTree.

메소드 상세

ExtractFields() 보호된 메소드

Extracts all fields from the user type.
protected ExtractFields ( UserTypeFactory factory, UserTypeGenerationFlags generationFlags ) : IEnumerable
factory UserTypeFactory The user type factory.
generationFlags UserTypeGenerationFlags The user type generation flags.
리턴 IEnumerable

GenerateConstructors() 보호된 메소드

Generates the constructors.
protected GenerateConstructors ( UserTypeGenerationFlags generationFlags ) : IEnumerable
generationFlags UserTypeGenerationFlags The user type generation flags.
리턴 IEnumerable

GetBaseClassTypeTree() 보호된 메소드

Gets the type tree for the base class. If class has multi inheritance, it can return MultiClassInheritanceTypeTree or SingleClassInheritanceWithInterfacesTypeTree.
protected GetBaseClassTypeTree ( TextWriter error, Symbol type, UserTypeFactory factory, int &baseClassOffset ) : TypeTree
error System.IO.TextWriter The error text writer.
type Symbol The type for which we are getting base class.
factory UserTypeFactory The user type factory.
baseClassOffset int The base class offset.
리턴 CsDebugScript.CodeGen.TypeTrees.TypeTree

GlobalsUserType() 공개 메소드

Initializes a new instance of the GlobalsUserType class.
public GlobalsUserType ( Symbol symbol, XmlType xmlType, string nameSpace ) : System.Collections.Generic
symbol Symbol The symbol we are generating this user type from.
xmlType XmlType The XML description of the type.
nameSpace string The namespace it belongs to.
리턴 System.Collections.Generic