Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CodeGenerator Class

Provides an example implementation of the ICodeGenerator interface. This class is abstract.

For a list of all members of this type, see CodeGenerator Members.

System.Object
   System.CodeDom.Compiler.CodeGenerator
      System.CodeDom.Compiler.CodeCompiler

[Visual Basic]
MustInherit Public Class CodeGenerator
   Implements ICodeGenerator
[C#]
public abstract class CodeGenerator : ICodeGenerator
[C++]
public __gc __abstract class CodeGenerator : public ICodeGenerator
[JScript]
public abstract class CodeGenerator implements ICodeGenerator

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

This is a useful base class for code generators to derive from. Code generators are capable of rendering source code in a specific language according to the structure of a Code Document Object Model (CodeDOM) graph. This class provides many functions and methods to generate specific types of code from a CodeDOM graph.

Requirements

Namespace: System.CodeDom.Compiler

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System (in System.dll)

See Also

CodeGenerator Members | System.CodeDom.Compiler Namespace | ICodeGenerator | CodeCompiler

Show:
© 2017 Microsoft