KY.Generator
8.8.8
dotnet add package KY.Generator --version 8.8.8
NuGet\Install-Package KY.Generator -Version 8.8.8
<PackageReference Include="KY.Generator" Version="8.8.8" />
paket add KY.Generator --version 8.8.8
#r "nuget: KY.Generator, 8.8.8"
// Install KY.Generator as a Cake Addin #addin nuget:?package=KY.Generator&version=8.8.8 // Install KY.Generator as a Cake Tool #tool nuget:?package=KY.Generator&version=8.8.8
KY.Generator
Documentation | Getting Started | Supported Platforms | Need Help?
Setup for Visual Studio
via Annotations
Pros: Easy to use, very quick to implement
Cons: Attributes are part of the build, annotations assembly has to be published and loaded
Install nuget package KY.Generator
Decorate a class with one of our generate attributes
using KY.Generator;
...
[Generate("Output")]
internal class TypeToRead
{
public string Property { get; set; }
}
See the complete showcase
See documentation for more details
via Fluent API
Pros: generator code is completely separated and is not published, more actions available than via annotations
Cons: the initial setup is not so easy as with annotations
Create a new class library project
Install nuget package KY.Generator.Fluent
Derive a class from GeneratorFluentMain, override the execute method and use the Read method
public class GeneratorMain : GeneratorFluentMain
{
public override void Execute()
{
this.Read()
.FromType<Types>()
.Write()
.AngularModels().OutputPath("Output/Models").SkipHeader()
.AngularServices().OutputPath("Output/Services").SkipHeader();
}
}
See the complete showcase
See documentation for more details
Setup for Console/Powershell
Download KY.Generator.exe from Releases
Run a command
KY.Generator.exe reflection -assembly=KY.Generator.Examples.Reflection.dll -name=ExampleType -namespace=KY.Generator.Examples.Reflection -relativePath=Output -language=TypeScript
See documentation for more details
Read More
For complete overview see our documentation
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on KY.Generator:
Package | Downloads |
---|---|
KY.Generator.Fluent
Fluent language for KY-Generator |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
8.8.8 | 467 | 4/20/2024 |
8.8.7 | 492 | 2/20/2024 |
8.8.6 | 414 | 2/16/2024 |
8.8.5 | 424 | 2/16/2024 |
8.8.4 | 425 | 2/13/2024 |
8.8.3 | 439 | 2/10/2024 |
8.8.2 | 414 | 2/9/2024 |
8.8.1 | 549 | 12/8/2023 |
8.8.0 | 460 | 12/3/2023 |
8.7.0 | 474 | 10/18/2023 |
8.6.0 | 1,251 | 4/17/2023 |
8.5.0 | 2,118 | 11/21/2022 |
8.4.4 | 2,626 | 8/27/2022 |
8.4.3 | 2,564 | 8/16/2022 |
8.4.2 | 2,709 | 7/22/2022 |
8.4.1 | 2,597 | 7/22/2022 |
8.4.0 | 2,590 | 7/22/2022 |
8.3.0 | 2,617 | 5/18/2022 |
8.2.0 | 1,366 | 12/17/2021 |
8.1.0 | 1,373 | 12/12/2021 |
8.0.0 | 1,846 | 10/12/2021 |
7.6.0 | 1,222 | 12/12/2021 |
7.5.0 | 1,709 | 8/10/2021 |
7.4.0 | 1,639 | 7/31/2021 |
7.3.1 | 1,492 | 7/29/2021 |
7.3.0 | 1,581 | 7/29/2021 |
7.2.0 | 1,546 | 7/26/2021 |
7.1.0 | 1,657 | 7/18/2021 |
7.0.0 | 1,556 | 7/13/2021 |
6.7.5 | 1,186 | 6/13/2021 |
6.7.4 | 1,064 | 5/25/2021 |
6.7.3 | 1,108 | 5/21/2021 |
6.7.2 | 1,084 | 5/20/2021 |
6.7.1 | 1,355 | 5/18/2021 |
6.7.0 | 1,032 | 5/11/2021 |
6.6.6 | 1,116 | 5/1/2021 |
6.6.5 | 1,051 | 5/1/2021 |
6.6.4 | 1,120 | 4/7/2021 |
6.6.3 | 1,071 | 4/2/2021 |
6.6.2 | 1,075 | 3/5/2021 |
6.6.1 | 1,063 | 3/4/2021 |
6.6.0 | 1,157 | 2/9/2021 |
6.5.0 | 1,117 | 2/2/2021 |
6.4.0 | 1,137 | 1/22/2021 |
6.3.0 | 1,100 | 1/11/2021 |
6.2.2 | 1,110 | 1/8/2021 |
6.2.1 | 1,064 | 1/4/2021 |
6.2.0 | 1,216 | 12/18/2020 |
6.1.0 | 1,077 | 12/16/2020 |
6.0.0 | 431 | 12/14/2020 |
5.6.1 | 461 | 12/7/2020 |
5.6.0 | 450 | 11/27/2020 |
5.5.3 | 562 | 11/21/2020 |
5.5.2 | 478 | 11/17/2020 |
5.5.1 | 443 | 11/16/2020 |
5.5.0 | 526 | 11/14/2020 |
5.4.0 | 487 | 11/9/2020 |
5.3.0 | 454 | 9/29/2020 |
5.2.0 | 570 | 9/24/2020 |
5.1.2 | 430 | 9/22/2020 |
5.1.1 | 459 | 9/10/2020 |
5.1.0 | 472 | 9/8/2020 |
5.0.1 | 529 | 8/29/2020 |
5.0.0 | 487 | 8/25/2020 |
4.3.0 | 600 | 8/11/2020 |
4.2.0 | 460 | 8/4/2020 |
4.1.1 | 445 | 7/30/2020 |
4.1.0 | 487 | 7/30/2020 |
4.0.0 | 498 | 7/7/2020 |