ICodeGenerator Members
MSDN Home
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 1.1
.NET Framework
Reference
System.CodeDom.Compiler
ICodeGenerator Interface
ICodeGenerator Interface
ICodeGenerator Members
Methods
Switch View :
Classic
Lightweight Beta
ScriptFree
Feedback
.NET Framework Class Library
ICodeGenerator Members
ICodeGenerator overview
Public Methods
CreateEscapedIdentifier
Creates an escaped identifier for the specified value.
CreateValidIdentifier
Creates a valid identifier for the specified value.
GenerateCodeFromCompileUnit
Generates code for the specified Code Document Object Model (CodeDOM) compilation unit and outputs it to the specified text writer using the specified options.
GenerateCodeFromExpression
Generates code for the specified Code Document Object Model (CodeDOM) expression and outputs it to the specified text writer.
GenerateCodeFromNamespace
Generates code for the specified Code Document Object Model (CodeDOM) namespace and outputs it to the specified text writer using the specified options.
GenerateCodeFromStatement
Generates code for the specified Code Document Object Model (CodeDOM) statement and outputs it to the specified text writer using the specified options.
GenerateCodeFromType
Generates code for the specified Code Document Object Model (CodeDOM) type declaration and outputs it to the specified text writer using the specified options.
GetTypeOutput
Gets the type indicated by the specified
CodeTypeReference
.
IsValidIdentifier
Gets a value that indicates whether the specified value is a valid identifier for the current language.
Supports
Gets a value indicating whether the generator provides support for the language features represented by the specified
GeneratorSupport
object.
ValidateIdentifier
Throws an exception if the specified value is not a valid identifier.
See Also
ICodeGenerator Interface
|
System.CodeDom.Compiler Namespace