Introducing nGineer and its CodeDOM Generator

nGineer is a language analysis and code generation kit for .NET languages and specifically C# which is currently being developed.
Components of nGineer are released separately and more components will be released soon.

The CodeDOM Generator component of the nGineer component suite persists Code Document Object Model object grids to Code Document Object Model object grids of themselves.
This would mean that if your tool generates a grid of Code DOM objects and you would like to see what that code would look like should it have been written as code, just send it through the CreateDOM method of the nGineer.CodeDOMGenerator class and you will receive a CodeCompileUnit with the code generated for your object grid.

The code is simple. Just type:

CodeCompileUnit generatedUnit = nGineer.CodeDOMGenerator.CreateDOM(unit);

Check out the project’s page for examples and downloads.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s