KY.Generator 8.8.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package KY.Generator --version 8.8.2                
NuGet\Install-Package KY.Generator -Version 8.8.2                
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.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KY.Generator --version 8.8.2                
#r "nuget: KY.Generator, 8.8.2"                
#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.2

// Install KY.Generator as a Cake Tool
#tool nuget:?package=KY.Generator&version=8.8.2                

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 463 4/20/2024
8.8.7 491 2/20/2024
8.8.6 413 2/16/2024
8.8.5 423 2/16/2024
8.8.4 424 2/13/2024
8.8.3 437 2/10/2024
8.8.2 413 2/9/2024
8.8.1 548 12/8/2023
8.8.0 459 12/3/2023
8.7.0 473 10/18/2023
8.6.0 1,248 4/17/2023
8.5.0 2,117 11/21/2022
8.4.4 2,625 8/27/2022
8.4.3 2,563 8/16/2022
8.4.2 2,708 7/22/2022
8.4.1 2,596 7/22/2022
8.4.0 2,589 7/22/2022
8.3.0 2,616 5/18/2022
8.2.0 1,364 12/17/2021
8.1.0 1,372 12/12/2021
8.0.0 1,844 10/12/2021
7.6.0 1,221 12/12/2021
7.5.0 1,708 8/10/2021
7.4.0 1,638 7/31/2021
7.3.1 1,491 7/29/2021
7.3.0 1,580 7/29/2021
7.2.0 1,545 7/26/2021
7.1.0 1,656 7/18/2021
7.0.0 1,554 7/13/2021
6.7.5 1,185 6/13/2021
6.7.4 1,063 5/25/2021
6.7.3 1,107 5/21/2021
6.7.2 1,083 5/20/2021
6.7.1 1,354 5/18/2021
6.7.0 1,031 5/11/2021
6.6.6 1,115 5/1/2021
6.6.5 1,050 5/1/2021
6.6.4 1,119 4/7/2021
6.6.3 1,070 4/2/2021
6.6.2 1,074 3/5/2021
6.6.1 1,062 3/4/2021
6.6.0 1,156 2/9/2021
6.5.0 1,116 2/2/2021
6.4.0 1,136 1/22/2021
6.3.0 1,099 1/11/2021
6.2.2 1,109 1/8/2021
6.2.1 1,063 1/4/2021
6.2.0 1,215 12/18/2020
6.1.0 1,076 12/16/2020
6.0.0 430 12/14/2020
5.6.1 460 12/7/2020
5.6.0 449 11/27/2020
5.5.3 561 11/21/2020
5.5.2 477 11/17/2020
5.5.1 442 11/16/2020
5.5.0 525 11/14/2020
5.4.0 486 11/9/2020
5.3.0 453 9/29/2020
5.2.0 569 9/24/2020
5.1.2 429 9/22/2020
5.1.1 458 9/10/2020
5.1.0 471 9/8/2020
5.0.1 528 8/29/2020
5.0.0 486 8/25/2020
4.3.0 599 8/11/2020
4.2.0 459 8/4/2020
4.1.1 444 7/30/2020
4.1.0 486 7/30/2020
4.0.0 495 7/7/2020