KY.Generator
10.0.0-preview.35
dotnet add package KY.Generator --version 10.0.0-preview.35
NuGet\Install-Package KY.Generator -Version 10.0.0-preview.35
<PackageReference Include="KY.Generator" Version="10.0.0-preview.35" />
<PackageVersion Include="KY.Generator" Version="10.0.0-preview.35" />
<PackageReference Include="KY.Generator" />
paket add KY.Generator --version 10.0.0-preview.35
#r "nuget: KY.Generator, 10.0.0-preview.35"
#:package KY.Generator@10.0.0-preview.35
#addin nuget:?package=KY.Generator&version=10.0.0-preview.35&prerelease
#tool nuget:?package=KY.Generator&version=10.0.0-preview.35&prerelease
KY.Generator 
Documentation | Getting Started | Supported Platforms | Need Help?
Setup for Visual Studio
via Annotations
Pros: Easy to use, rapid to implement
Cons: Attributes are part of the build, annotation assemblies have to be published and loaded when reflection is used
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 are 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 a complete overview see our documentation
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.0
- No dependencies.
-
.NETCoreApp 3.0
- No dependencies.
-
net10.0
- No dependencies.
-
net5.0
- No dependencies.
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
-
net8.0
- No dependencies.
-
net9.0
- 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 |
|---|---|---|
| 10.0.0-preview.35 | 54 | 11/29/2025 |
| 10.0.0-preview.17 | 135 | 10/16/2025 |
| 10.0.0-preview.15 | 535 | 7/23/2025 |
| 9.1.0 | 577 | 11/11/2025 |
| 9.0.1 | 482 | 10/9/2025 |
| 9.0.0 | 339 | 8/1/2025 |
| 8.10.0 | 567 | 11/11/2025 |
| 8.9.3 | 482 | 10/22/2025 |
| 8.9.2 | 479 | 10/9/2025 |
| 8.9.1 | 663 | 7/24/2025 |
| 8.9.0 | 533 | 1/18/2025 |
| 8.8.8 | 766 | 4/20/2024 |
| 8.8.7 | 707 | 2/20/2024 |
| 8.8.6 | 632 | 2/16/2024 |
| 8.8.5 | 631 | 2/16/2024 |
| 8.8.4 | 657 | 2/13/2024 |
| 8.8.3 | 661 | 2/10/2024 |
| 8.8.2 | 653 | 2/9/2024 |
| 8.8.1 | 760 | 12/8/2023 |
| 8.8.0 | 680 | 12/3/2023 |
| 8.7.0 | 719 | 10/18/2023 |
| 8.6.0 | 1,542 | 4/17/2023 |
| 8.5.0 | 2,405 | 11/21/2022 |
| 8.4.4 | 2,911 | 8/27/2022 |
| 8.4.3 | 2,856 | 8/16/2022 |
| 8.4.2 | 3,019 | 7/22/2022 |
| 8.4.1 | 2,861 | 7/22/2022 |
| 8.4.0 | 2,903 | 7/22/2022 |
| 8.3.0 | 2,938 | 5/18/2022 |
| 8.2.0 | 1,689 | 12/17/2021 |
| 8.1.0 | 1,687 | 12/12/2021 |
| 8.0.0 | 2,142 | 10/12/2021 |
| 7.6.0 | 1,506 | 12/12/2021 |
| 7.5.0 | 2,016 | 8/10/2021 |
| 7.4.0 | 1,935 | 7/31/2021 |
| 7.3.1 | 1,766 | 7/29/2021 |
| 7.3.0 | 1,887 | 7/29/2021 |
| 7.2.0 | 1,821 | 7/26/2021 |
| 7.1.0 | 1,944 | 7/18/2021 |
| 7.0.0 | 1,859 | 7/13/2021 |
| 6.7.5 | 1,414 | 6/13/2021 |
| 6.7.4 | 1,336 | 5/25/2021 |
| 6.7.3 | 1,364 | 5/21/2021 |
| 6.7.2 | 1,319 | 5/20/2021 |
| 6.7.1 | 1,593 | 5/18/2021 |
| 6.7.0 | 1,237 | 5/11/2021 |
| 6.6.6 | 1,389 | 5/1/2021 |
| 6.6.5 | 1,309 | 5/1/2021 |
| 6.6.4 | 1,331 | 4/7/2021 |
| 6.6.3 | 1,307 | 4/2/2021 |
| 6.6.2 | 1,310 | 3/5/2021 |
| 6.6.1 | 1,285 | 3/4/2021 |
| 6.6.0 | 1,416 | 2/9/2021 |
| 6.5.0 | 1,370 | 2/2/2021 |
| 6.4.0 | 1,390 | 1/22/2021 |
| 6.3.0 | 1,363 | 1/11/2021 |
| 6.2.2 | 1,354 | 1/8/2021 |
| 6.2.1 | 1,341 | 1/4/2021 |
| 6.2.0 | 1,428 | 12/18/2020 |
| 6.1.0 | 1,358 | 12/16/2020 |
| 6.0.0 | 632 | 12/14/2020 |
| 5.6.1 | 663 | 12/7/2020 |
| 5.6.0 | 644 | 11/27/2020 |
| 5.5.3 | 767 | 11/21/2020 |
| 5.5.2 | 662 | 11/17/2020 |
| 5.5.1 | 655 | 11/16/2020 |
| 5.5.0 | 704 | 11/14/2020 |
| 5.4.0 | 688 | 11/9/2020 |
| 5.3.0 | 651 | 9/29/2020 |
| 5.2.0 | 756 | 9/24/2020 |
| 5.1.2 | 609 | 9/22/2020 |
| 5.1.1 | 676 | 9/10/2020 |
| 5.1.0 | 672 | 9/8/2020 |
| 5.0.1 | 694 | 8/29/2020 |
| 5.0.0 | 699 | 8/25/2020 |
| 4.3.0 | 799 | 8/11/2020 |
| 4.2.0 | 663 | 8/4/2020 |
| 4.1.1 | 649 | 7/30/2020 |
| 4.1.0 | 693 | 7/30/2020 |
| 4.0.0 | 701 | 7/7/2020 |