C# code generation

 

Introduction to C# code generation

Code generation operations consist of producing C# files for a model's classes.  Before actually proceeding with generation, it may be necessary to annotate the model using tagged values, and to further define the model using notes.

 

 

Generating types and accessors

Objecteering C# Developer provides default translation of the types modeled in C# types.  Similarly, default strategies exist for attribute and  parameter declarations and for accessor generation.  Other translations and strategies can be chosen without having to redefine Objecteering C# Developer.

 

 

Main topics in this user guide

The Objecteering C# Developer User Guide will explain:

·         The correspondence between C# notions and modeling notions

·         The note types and tagged value types provided by Objecteering C# Developer

·         the parameterization of the types of the parameters and attributes generated

·         the parameterization of the declaration of generated parameters and attributes

·         the parameterization of the accessors of generated attributes