KY.Generator 8.8.7

dotnet add package KY.Generator --version 8.8.7
NuGet\Install-Package KY.Generator -Version 8.8.7
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.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KY.Generator --version 8.8.7
#r "nuget: KY.Generator, 8.8.7"
#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.7

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

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.7 356 2/20/2024
8.8.6 269 2/16/2024
8.8.5 306 2/16/2024
8.8.4 264 2/13/2024
8.8.3 316 2/10/2024
8.8.2 292 2/9/2024
8.8.1 429 12/8/2023
8.8.0 330 12/3/2023
8.7.0 347 10/18/2023
8.6.0 1,132 4/17/2023
8.5.0 2,011 11/21/2022
8.4.4 2,532 8/27/2022
8.4.3 2,463 8/16/2022
8.4.2 2,607 7/22/2022
8.4.1 2,484 7/22/2022
8.4.0 2,486 7/22/2022
8.3.0 2,514 5/18/2022
8.2.0 1,259 12/17/2021
8.1.0 1,253 12/12/2021
8.0.0 1,719 10/12/2021
7.6.0 1,120 12/12/2021
7.5.0 1,596 8/10/2021
7.4.0 1,536 7/31/2021
7.3.1 1,385 7/29/2021
7.3.0 1,473 7/29/2021
7.2.0 1,430 7/26/2021
7.1.0 1,543 7/18/2021
7.0.0 1,423 7/13/2021
6.7.5 1,103 6/13/2021
6.7.4 1,000 5/25/2021
6.7.3 978 5/21/2021
6.7.2 1,013 5/20/2021
6.7.1 1,280 5/18/2021
6.7.0 967 5/11/2021
6.6.6 1,047 5/1/2021
6.6.5 976 5/1/2021
6.6.4 1,046 4/7/2021
6.6.3 989 4/2/2021
6.6.2 1,001 3/5/2021
6.6.1 982 3/4/2021
6.6.0 1,082 2/9/2021
6.5.0 1,035 2/2/2021
6.4.0 1,060 1/22/2021
6.3.0 1,028 1/11/2021
6.2.2 1,037 1/8/2021
6.2.1 997 1/4/2021
6.2.0 1,148 12/18/2020
6.1.0 1,008 12/16/2020
6.0.0 404 12/14/2020
5.6.1 432 12/7/2020
5.6.0 419 11/27/2020
5.5.3 548 11/21/2020
5.5.2 452 11/17/2020
5.5.1 415 11/16/2020
5.5.0 514 11/14/2020
5.4.0 475 11/9/2020
5.3.0 423 9/29/2020
5.2.0 542 9/24/2020
5.1.2 416 9/22/2020
5.1.1 446 9/10/2020
5.1.0 442 9/8/2020
5.0.1 517 8/29/2020
5.0.0 457 8/25/2020
4.3.0 566 8/11/2020
4.2.0 433 8/4/2020
4.1.1 431 7/30/2020
4.1.0 459 7/30/2020
4.0.0 459 7/7/2020