C# Class CsDebugScript.CodeGen.UserTypes.NamespaceUserType

Class that represents namespace for the user types
Inheritance: UserType
Show file Open project: southpolenator/WinDbgCs Class Usage Examples

Private Properties

Property Type Description
MergeIfPossible void
NamespaceUserType System.Collections.Generic

Public Methods

Method Description
WriteCode ( IndentedWriter output, TextWriter error, UserTypeFactory factory, UserTypeGenerationFlags generationFlags, int indentation ) : void

Writes the code for this user type to the specified output.

Private Methods

Method Description
MergeIfPossible ( ) : void

Merges namespace with "parent" ones if possible (only if all are namespaces).

NamespaceUserType ( IEnumerable namespaces, string nameSpace ) : System.Collections.Generic

Initializes a new instance of the NamespaceUserType class.

Method Details

WriteCode() public method

Writes the code for this user type to the specified output.
public WriteCode ( IndentedWriter output, TextWriter error, UserTypeFactory factory, UserTypeGenerationFlags generationFlags, int indentation ) : void
output IndentedWriter The output.
error System.IO.TextWriter The error text writer.
factory UserTypeFactory The user type factory.
generationFlags UserTypeGenerationFlags The user type generation flags.
indentation int The current indentation.
return void