Dhgms.Nucleotide.Analyzers 3.1.3

.NET Standard 2.1
There is a newer version of this package available.
See the version list below for details.
dotnet add package Dhgms.Nucleotide.Analyzers --version 3.1.3
NuGet\Install-Package Dhgms.Nucleotide.Analyzers -Version 3.1.3
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="Dhgms.Nucleotide.Analyzers" Version="3.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dhgms.Nucleotide.Analyzers --version 3.1.3
#r "nuget: Dhgms.Nucleotide.Analyzers, 3.1.3"
#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 Dhgms.Nucleotide.Analyzers as a Cake Addin
#addin nuget:?package=Dhgms.Nucleotide.Analyzers&version=3.1.3

// Install Dhgms.Nucleotide.Analyzers as a Cake Tool
#tool nuget:?package=Dhgms.Nucleotide.Analyzers&version=3.1.3

Nucleotide

Build status

Mission Statement

To provide a tool that automatically generates repeditive .NET code to allow better use of developers time.

Current Status

This project is in a beta phase and tied to work being done in https://github.com/dpvreony/whipstaff, development is slow due to COVID workload.

Introduction

Nucleotide is a library to aid in the generation of .NET code for manipulation the following types of objects:

  • Client\Server Services (Interfaces)
  • Commands (Interfaces and Classes)
  • Command Factory (Interfaces and Classes)
  • Entity Framework DbSet (Classes)
  • Entity Framework Models (Classes)
  • Models (Interfaces and Classes)
  • Queries (Interfaces and Classes)
  • Query Factories (Interfaces and Classes)
  • Request DTO POCO Objects (Classes)
  • Response DTO POCO Objects (Classes)
  • SignalR Hubs (Classes)
  • WCF Service classes (Classes)
  • Web Api Client (Classes)
  • Web Api Controllers (Classes)

This project leverages Roslyn functionality to combine a simple DSL style model with the power of the compiler to give a simple way to generate code.

This version of Nucleotide is built upon CodeGenerators.Roslyn, this has allowed the removal of dependency on -.tt files.

Credits

Getting Started

Pre-requisites

You will need:

  • Visual Studio 2019
  • A project using
    • netcore 3.1 upward
    • C# 8 language compiler settings or later

Before you start

You can use the following project structure

  1. Your code generation model and the generated code are in the same project.
  2. Your code generation model is in Project1, while your generated code is in Project2.

Get the package (Single Project)

You want to install Nucleotide in the project where you want to place your generated model.

Install-Package Dhgms.Nucleotide

Get the package (Dual Project)

In project1.

  1. Install-Package Dhgms.Nucleotide

  2. Add Your Code Generation Models

  3. Inherit the Code Generation Attributes.

In project2.

  1. Reference Project1.

  2. Install-Package Dhgms.Nucleotide

  3. Apply the Assembly Code Generation Attributes.

Get started with a Code Generation Model

TODO.

Apply a Model Generation Attribute

TODO.

Viewing the documentation

The documentation can be found at http://dpvreony.github.io/nucleotide/

Contributing to the code

See the contribution guidelines.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.2.131 204 12/27/2022
3.2.27 424 2/11/2022
3.2.20 303 1/18/2022
3.2.18 313 1/11/2022
3.2.17 312 1/10/2022
3.2.13 179 1/6/2022
3.2.2 271 10/31/2021
3.1.3 286 9/11/2021
3.1.1 221 8/24/2021
3.0.10 244 1/31/2021
3.0.9 246 1/30/2021
3.0.8 257 1/30/2021
3.0.7 244 1/27/2021
3.0.6 242 1/27/2021
3.0.5 233 1/25/2021