C# Class CsDebugScript.CodeGen.UserTypes.TemplateUserTypeFactory

Class representing template user type factory. It is used to inject template arguments into existing user type factory.
Inheritance: UserTypeFactory
Show file Open project: southpolenator/WinDbgCs

Public Methods

Method Description
TemplateUserTypeFactory ( UserTypeFactory originalFactory, TemplateUserType templateType )

Initializes a new instance of the TemplateUserTypeFactory class.

Private Methods

Method Description
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.

TryGetTemplateArgument ( string typeName, string &argumentName ) : bool

Tries to match the specified type name against template arguments.

Method Details

TemplateUserTypeFactory() public method

Initializes a new instance of the TemplateUserTypeFactory class.
public TemplateUserTypeFactory ( UserTypeFactory originalFactory, TemplateUserType templateType )
originalFactory UserTypeFactory The original user type factory.
templateType TemplateUserType The template user type.