generate_csharp
Converts a VBL Aquarium model into a C# struct.
generate_csharp(model_classes)
Generate a C# file containing structs for the given model classes.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
model_classes
|
list[type[VBLBaseModel]]
|
The model classes to generate C# structs for. |
required |
Returns:
Type | Description |
---|---|
str
|
The C# file as a string. |