Class ModelGenerator
Handles data model and service client code generation.
Namespace: Neon.ModelGen
Assembly: Neon.ModelGen.dll
Syntax
public class ModelGenerator
Constructors
ModelGenerator(ModelGeneratorSettings)
Constructs a code generator.
Declaration
public ModelGenerator(ModelGeneratorSettings settings = null)
Parameters
Type | Name | Description |
---|---|---|
ModelGeneratorSettings | settings | Optional settings. Reasonable defaults will be used when this is |
Properties
Output
Returns the code generator output instance.
Declaration
public ModelGeneratorOutput Output { get; }
Property Value
Type | Description |
---|---|
ModelGeneratorOutput |
Settings
Returns the code generation settings.
Declaration
public ModelGeneratorSettings Settings { get; }
Property Value
Type | Description |
---|---|
ModelGeneratorSettings |
Methods
Generate(params Assembly[])
Generates code from a set of source assemblies.
Declaration
public ModelGeneratorOutput Generate(params Assembly[] assemblies)
Parameters
Type | Name | Description |
---|---|---|
Assembly[] | assemblies | The source assemblies. |
Returns
Type | Description |
---|---|
ModelGeneratorOutput | A ModelGeneratorOutput instance holding the results. |