SourceGenTemplates 0.1.54
dotnet add package SourceGenTemplates --version 0.1.54
NuGet\Install-Package SourceGenTemplates -Version 0.1.54
<PackageReference Include="SourceGenTemplates" Version="0.1.54" />
<PackageVersion Include="SourceGenTemplates" Version="0.1.54" />
<PackageReference Include="SourceGenTemplates" />
paket add SourceGenTemplates --version 0.1.54
#r "nuget: SourceGenTemplates, 0.1.54"
#:package SourceGenTemplates@0.1.54
#addin nuget:?package=SourceGenTemplates&version=0.1.54
#tool nuget:?package=SourceGenTemplates&version=0.1.54
C# Source Generators
C# Source Generators is, as the name suggests, a template driven way of writing source generators.
Normal source generators can be created by creating an Analyzer package by yourself. With {{packagename}} the process of writing your own source generators is greatly simplified.
Using a set of predefined C#-like directives you are able to create the most advanced source generators.
Being able to extend your own code base has never been easier!
Installation
Simply add it to your C# project using dotnet package add SourceGenTemplates
.
First template
For writing your first template, please visit our documentation website for more information on how to start and detailed explanation of the templating language:
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.CodeAnalysis.CSharp (>= 4.9.2)
- Microsoft.CodeAnalysis.CSharp.Workspaces (>= 4.9.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.