stidgen 0.4.0

Strongly Typed ID type Generator

There is a newer version of this package available.
See the version list below for details.
Install-Package stidgen -Version 0.4.0
dotnet add package stidgen --version 0.4.0
<PackageReference Include="stidgen" Version="0.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add stidgen --version 0.4.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Static methods `Parse` and `TryParse` are lifted.
A variant of `TryParse` returning a nullable instead of using an out
parameter is generated if TryParse exists.
Types can now be placed in the same file and the default is to place them
all in a file named as the .stidgen file but with a .Generated.cs extension.
The previous behavior is available by specifying `UseNameAsFileName: true`.
Added a more complete set of unit tests.
Multiple files can now be passed to the command line.
The command line now support globs like `**\*.stidgen`.
Generated files and types are now shown on the console.
BUGFIX: Generic underlying types weren't correctly handled, the name was
the FullName of the Type instead of C# code.
BUGFIX: Casts to and from nullable were still generated for Nullable&lt;T&gt;
underlying resulting in invalid code.
BUGFIX: `EqualsUnderlying: true` generated code for `.Equals` but didn't
generate the == and != operators.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.0 186 8/17/2018
1.0.0 309 5/5/2017
0.5.3 445 2/26/2016
0.5.1 587 10/15/2015
0.5.0 397 9/21/2015
0.4.0 383 9/9/2015
0.3.0 444 6/3/2015
0.2.0 314 6/2/2015
0.1.1 339 6/2/2015
0.1.0 357 6/2/2015
Show less