|
4 years ago | |
---|---|---|
cscz | 4 years ago | |
examples | 4 years ago | |
.gitignore | 4 years ago | |
CSCZ.Standard.md | 4 years ago | |
Changelog.md | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
cscz.sln | 4 years ago |
The one and only C♯ Class Generator.
To use:
Example definitions:
# Shop
- c
decimal balance
float lat
float long
List<TimeSpan> openingHours
# Model3D
- OpenTK
- OpenTK.Graphics
ModelUtility model
ShaderUtility shaderProgram
Matrix4 transformation
Vector3 position
The examples above should be enough to get you started, but if you want a formal standard document for the syntax, I've written one in CSCZ.Standard.md.
The C♯ Class Generator supports shortcuts in the using statement declarations (- System
). Here's a table of all the shortcuts added so far:
Shortcut | Expansion |
---|---|
c |
System.Collections.Generic |
cc |
System.Collections.Concurrent |
r |
System.Text.RegularExpressions |
n |
System.Net |
s |
System.Net.Sockets |
x |
Microsoft.Xna.Framework |
xg |
Microsoft.Xna.Framework.Graphics |
xs |
Microsoft.Xna.Framework.Storage |
xi |
Microsoft.Xna.Framework.Input |
oo |
OpenTK.Graphics.OpenGL |
See the Changelog for a summary of what's changed between releases.
Type ./cscz.exe --help
for usage information or see Help.md.