System.CodeDom.Compiler.CodeGenerator Class

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

See Also: CodeGenerator Members

Syntax

public abstract class CodeGenerator : ICodeGenerator

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.

Note:

This class contains a link demand and an inheritance demand at the class level that applies to all members. A System.Security.SecurityException is thrown when either the immediate caller or the derived class does not have full-trust permission. For details about security demands, see Link Demands and Inheritance Demands.

Requirements

Namespace: System.CodeDom.Compiler
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0