.NET Framework Class Library
ICodeGenerator Members

ICodeGenerator overview

Public Methods

public methodCreateEscapedIdentifier Creates an escaped identifier for the specified value.
public methodCreateValidIdentifier Creates a valid identifier for the specified value.
public methodGenerateCodeFromCompileUnit Generates code for the specified Code Document Object Model (CodeDOM) compilation unit and outputs it to the specified text writer using the specified options.
public methodGenerateCodeFromExpression Generates code for the specified Code Document Object Model (CodeDOM) expression and outputs it to the specified text writer.
public methodGenerateCodeFromNamespace Generates code for the specified Code Document Object Model (CodeDOM) namespace and outputs it to the specified text writer using the specified options.
public methodGenerateCodeFromStatement Generates code for the specified Code Document Object Model (CodeDOM) statement and outputs it to the specified text writer using the specified options.
public methodGenerateCodeFromType Generates code for the specified Code Document Object Model (CodeDOM) type declaration and outputs it to the specified text writer using the specified options.
public methodGetTypeOutput Gets the type indicated by the specified CodeTypeReference.
public methodIsValidIdentifier Gets a value that indicates whether the specified value is a valid identifier for the current language.
public methodSupports Gets a value indicating whether the generator provides support for the language features represented by the specified GeneratorSupport object.
public methodValidateIdentifier Throws an exception if the specified value is not a valid identifier.

See Also

ICodeGenerator Interface | System.CodeDom.Compiler Namespace

Page view tracker