KY.Generator 8.8.8

dotnet add package KY.Generator --version 8.8.8                
NuGet\Install-Package KY.Generator -Version 8.8.8                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KY.Generator" Version="8.8.8" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KY.Generator --version 8.8.8                
#r "nuget: KY.Generator, 8.8.8"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 alternate text is missing from this package README image

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 alternate text is missing from this package README image

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 alternate text is missing from this package README image

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 alternate text is missing from this package README image 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

There are no supported framework assets in this package.

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 482 4/20/2024
8.8.7 498 2/20/2024
8.8.6 418 2/16/2024
8.8.5 430 2/16/2024
8.8.4 435 2/13/2024
8.8.3 447 2/10/2024
8.8.2 424 2/9/2024
8.8.1 553 12/8/2023
8.8.0 464 12/3/2023
8.7.0 480 10/18/2023
8.6.0 1,255 4/17/2023
8.5.0 2,122 11/21/2022
8.4.4 2,630 8/27/2022
8.4.3 2,568 8/16/2022
8.4.2 2,715 7/22/2022
8.4.1 2,603 7/22/2022
8.4.0 2,596 7/22/2022
8.3.0 2,623 5/18/2022
8.2.0 1,372 12/17/2021
8.1.0 1,379 12/12/2021
8.0.0 1,852 10/12/2021
7.6.0 1,228 12/12/2021
7.5.0 1,717 8/10/2021
7.4.0 1,649 7/31/2021
7.3.1 1,498 7/29/2021
7.3.0 1,587 7/29/2021
7.2.0 1,552 7/26/2021
7.1.0 1,663 7/18/2021
7.0.0 1,564 7/13/2021
6.7.5 1,192 6/13/2021
6.7.4 1,070 5/25/2021
6.7.3 1,114 5/21/2021
6.7.2 1,090 5/20/2021
6.7.1 1,361 5/18/2021
6.7.0 1,038 5/11/2021
6.6.6 1,122 5/1/2021
6.6.5 1,057 5/1/2021
6.6.4 1,126 4/7/2021
6.6.3 1,077 4/2/2021
6.6.2 1,081 3/5/2021
6.6.1 1,069 3/4/2021
6.6.0 1,163 2/9/2021
6.5.0 1,123 2/2/2021
6.4.0 1,143 1/22/2021
6.3.0 1,106 1/11/2021
6.2.2 1,116 1/8/2021
6.2.1 1,070 1/4/2021
6.2.0 1,222 12/18/2020
6.1.0 1,083 12/16/2020
6.0.0 437 12/14/2020
5.6.1 467 12/7/2020
5.6.0 456 11/27/2020
5.5.3 568 11/21/2020
5.5.2 484 11/17/2020
5.5.1 449 11/16/2020
5.5.0 532 11/14/2020
5.4.0 493 11/9/2020
5.3.0 460 9/29/2020
5.2.0 576 9/24/2020
5.1.2 436 9/22/2020
5.1.1 465 9/10/2020
5.1.0 478 9/8/2020
5.0.1 535 8/29/2020
5.0.0 493 8/25/2020
4.3.0 606 8/11/2020
4.2.0 466 8/4/2020
4.1.1 451 7/30/2020
4.1.0 493 7/30/2020
4.0.0 504 7/7/2020