CodeGenerator Class

unlisted

CodeGenerator Class

 

The CodeGenerator class is used to initiate code generation for a CodeGenTaskSet object. An application can cause code to be generated by creating an instance of this class, passing in a CodeGenTaskSet object, and then calling the GenerateCode method.

For an example of generating code with the CodeGen API look here.

Syntax

Class Name:           public sealed class CodeGenerator

Namespace:          CodeGen.Engine

Assembly:          CodeGenEngine.dll

Constructors

Name

Description

CodeGenerator(CodeGenTaskSet)

Initializes a new instance of the CodeGenerator class to process a CodeGenTaskSet.

Methods

Name

Description

GenerateCode

Initiates code generation for the CodeGenTaskSet provided.

LoadExtensions

Loads custom extensions. This method is only exposed so that it may be used by unit tests in the CodeGen development environment, and should not be used by other applications.

LoadProformaExtensions

Loads BusinessCraft Proforma extensions. This method is only exposed so that it may be used by unit tests in the CodeGen development environment, and should not be used by other applications.

LoadSymphonyExtensions

Loads Symphony Framweork extensions

 

 

 

 


Copyright © 2018  Synergex International, Inc.