2016-05-07 19:01:38 +00:00
|
|
|
# cscz
|
2016-05-08 10:50:13 +00:00
|
|
|
The one and only C♯ Class Generator.
|
2016-05-07 19:01:38 +00:00
|
|
|
|
2016-08-04 09:31:52 +00:00
|
|
|
To use:
|
|
|
|
- Build the project (F8 in Monodevelop, CTRL + SHIFT + B in Visual Studio)
|
|
|
|
- Pipe your compressed class definition file into it.
|
|
|
|
|
|
|
|
Example definitions:
|
2016-05-08 10:50:13 +00:00
|
|
|
|
|
|
|
```csharp
|
|
|
|
# Shop
|
|
|
|
u c
|
|
|
|
decimal balance
|
|
|
|
float lat
|
|
|
|
float long
|
|
|
|
List<TimeSpan> openingHours
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
```csharp
|
|
|
|
# Model3D
|
|
|
|
u OpenTK
|
|
|
|
u OpenTK.Graphics
|
|
|
|
|
|
|
|
ModelUtility model
|
|
|
|
ShaderUtility shaderProgram
|
|
|
|
|
|
|
|
Matrix4 transformation
|
|
|
|
Vector3 position
|
|
|
|
```
|
|
|
|
|
2016-07-25 18:37:57 +00:00
|
|
|
## Using Statement Shortcuts
|
|
|
|
The C♯ Class Generator supports shortcuts in the using statement declarations (`u 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`
|
|
|
|
|
2016-05-08 10:50:13 +00:00
|
|
|
See the [Changelog](https://git.starbeamrainbowlabs.com/sbrl/cscz/src/master/Changelog.md) for a summary of what's changed between releases.
|
2016-05-08 11:14:34 +00:00
|
|
|
|
2016-05-08 11:15:51 +00:00
|
|
|
Type `./cscz.exe --help` for usage information or see [Help.md](https://git.starbeamrainbowlabs.com/sbrl/cscz/src/master/cscz/Help.md).
|