C# Class CsDebugScript.CodeGen.UserTypes.GlobalsUserType

User type that represents static class for getting global variables located in Module.
Inheritance: UserType
Afficher le fichier Open project: southpolenator/WinDbgCs Class Usage Examples

Méthodes publiques

Méthode Description
GlobalsUserType ( Symbol symbol, XmlType xmlType, string nameSpace ) : System.Collections.Generic

Initializes a new instance of the GlobalsUserType class.

Méthodes protégées

Méthode Description
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.

Method Details

ExtractFields() protected méthode

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.
Résultat IEnumerable

GenerateConstructors() protected méthode

Generates the constructors.
protected GenerateConstructors ( UserTypeGenerationFlags generationFlags ) : IEnumerable
generationFlags UserTypeGenerationFlags The user type generation flags.
Résultat IEnumerable

GetBaseClassTypeTree() protected méthode

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.
Résultat CsDebugScript.CodeGen.TypeTrees.TypeTree

GlobalsUserType() public méthode

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.
Résultat System.Collections.Generic