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

Class representing user type factory. It is being used to find types.
파일 보기 프로젝트 열기: southpolenator/WinDbgCs 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
typeTransformations XmlTypeTransformation[]

공개 메소드들

메소드 설명
UserTypeFactory ( UserTypeFactory factory ) : System

Initializes a new instance of the UserTypeFactory class.

UserTypeFactory ( XmlTypeTransformation transformations ) : System

Initializes a new instance of the UserTypeFactory class.

비공개 메소드들

메소드 설명
AddDerivedClassToBaseClasses ( UserType userType ) : void

Adds the specified user type as derived class to all its base classes.

AddSymbol ( Symbol symbol, XmlType type, string nameSpace, UserTypeGenerationFlags generationFlags ) : UserType

Adds the symbol to user type factory and generates the user type.

AddSymbols ( IEnumerable symbols, XmlType type, string nameSpace, UserTypeGenerationFlags generationFlags ) : IEnumerable

Adds the symbols to user type factory and generates the user types.

ContainsSymbol ( Module module, string typeString ) : bool

Determines whether the factory contains the specified type.

FindTransformation ( Symbol type, UserType ownerUserType ) : UserTypeTransformation

Tries to match transformation for the specified type.

GetUserType ( Module module, string typeString, UserType &userType ) : bool

Look up for user type based on the specified module and type string.

GetUserType ( Symbol type, UserType &userType ) : bool

Look up for user type based on the specified symbol.

ProcessTypes ( IEnumerable userTypes, string>.Dictionary symbolNamespaces ) : IEnumerable

Post process the types: - If UserType has static members in more than one module, split it into multiple user types. - Find parent type/namespace.

메소드 상세

UserTypeFactory() 공개 메소드

Initializes a new instance of the UserTypeFactory class.
public UserTypeFactory ( UserTypeFactory factory ) : System
factory UserTypeFactory The user type factory.
리턴 System

UserTypeFactory() 공개 메소드

Initializes a new instance of the UserTypeFactory class.
public UserTypeFactory ( XmlTypeTransformation transformations ) : System
transformations XmlTypeTransformation The transformations.
리턴 System

프로퍼티 상세

typeTransformations 보호되어 있는 프로퍼티

The list of available type transformations
protected XmlTypeTransformation[] typeTransformations
리턴 XmlTypeTransformation[]