Category: roslyn

  • RSCG – kli.Localize

    RSCG – kli.Localize     name kli.Localize nuget https://www.nuget.org/packages/kli.Localize/ link https://github.com/kl1mm/localize author Tobias Klimm Generating localization files from json files   This is how you can use kli.Localize . The code that you start with is The code that you will use is   The code that is generated is Code and pdf at https://ignatandrei.github.io/RSCG_Examples/v2/docs/kli.Localize

  • RSCG – Unflat

    RSCG – Unflat     name Unflat nuget https://www.nuget.org/packages/Unflat/ link https://github.com/pstlnce/unflat author pstlnce DataReader to Object Model   This is how you can use Unflat . The code that you start with is The code that you will use is   The code that is generated is using System; using System.Data; using System.Data.Common; using System.Collections.Generic;…

  • RSCG – Facet

    RSCG – Facet     name Facet nuget https://www.nuget.org/packages/Facet/ link https://github.com/Tim-Maes/Facet/ author Tim Maes Custom generation and mapper   This is how you can use Facet . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net8.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <PropertyGroup> <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> <CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath> </PropertyGroup> <ItemGroup> <PackageReference Include="Facet" Version="2.7.0" /> </ItemGroup> </Project> The code…

  • RSCG – mvvmgen

    RSCG – mvvmgen     name mvvmgen nuget https://www.nuget.org/packages/mvvmgen/ link https://github.com/thomasclaudiushuber/mvvmgen author Thomas Claudius Huber Generate MVVM boilerplate code   This is how you can use mvvmgen . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net9.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <ItemGroup> <PackageReference Include="MvvmGen.PureCodeGeneration" Version="1.4.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> </PackageReference>…

  • RSCG – UtilityVerse.Copy

    RSCG – UtilityVerse.Copy     name UtilityVerse.Copy nuget https://www.nuget.org/packages/UtilityVerse.Copy/ link https://github.com/purkayasta/TheUtilityVerse author pritom purkayasta Deep Clone and Shallow Copy of objects   This is how you can use UtilityVerse.Copy . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net9.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <PropertyGroup> <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> <CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath> </PropertyGroup> <ItemGroup> <PackageReference Include="UtilityVerse.Copy" Version="0.5.0" /> </ItemGroup>…

  • RSCG – requiredenum

    RSCG – requiredenum     name requiredenum nuget https://www.nuget.org/packages/requiredenum/ link https://github.com/emptycoder/RequiredEnum author Yaroslav Raise an error at compile time if not have switch handle case all enums values   This is how you can use requiredenum . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net9.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <PropertyGroup> <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> <CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath>…

  • RSCG – Schema

    RSCG – Schema     name Schema nuget https://www.nuget.org/packages/Schema/ link https://github.com/MeltyPlayer/Schema author Melty Player Generate binary serialization code   This is how you can use Schema . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net9.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <PropertyGroup> <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> <CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath> </PropertyGroup> <ItemGroup> <PackageReference Include="CommunityToolkit.HighPerformance" Version="8.3.0" /> <PackageReference Include="schema" Version="0.6.13" />…

  • RSCG – FactoryGenerator.Abstractions

    RSCG – FactoryGenerator.Abstractions     name FactoryGenerator.Abstractions nuget https://www.nuget.org/packages/FactoryGenerator.Abstractions/ https://www.nuget.org/packages/FactoryGenerator.Microsoft.Extensions.DependencyInjection/ link https://github.com/ivmazurenko/factory-generator author Ivan Mazurenko Generating DI Factory based on the first parameter(s)   This is how you can use FactoryGenerator.Abstractions . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net8.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <PropertyGroup> <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> <CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath> </PropertyGroup> <ItemGroup> <PackageReference Include="FactoryGenerator.Abstractions" Version="0.0.23"…

  • RSCG – JinShil.MixinSourceGenerator

    RSCG – JinShil.MixinSourceGenerator     name JinShil.MixinSourceGenerator nuget https://www.nuget.org/packages/JinShil.MixinSourceGenerator/ link https://github.com/JinShil/JinShil.MixinSourceGenerator author Jin Shil Generate mixins of classes   This is how you can use JinShil.MixinSourceGenerator . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net8.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <PropertyGroup> <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> <CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath> </PropertyGroup> <ItemGroup> <PackageReference Include="JinShil.MixinSourceGenerator" Version="1.0.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles;…

  • RSCG – Finch.Generators

    RSCG – Finch.Generators     name Finch.Generators nuget https://www.nuget.org/packages/Finch.Generators/ link https://github.com/ivmazurenko/finch author Ivan Mazurenko dapper style generator   This is how you can use Finch.Generators . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net9.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <ItemGroup> <PackageReference Include="Finch.Abstractions" Version="0.0.107" /> <PackageReference Include="Finch.Generators" Version="0.0.107" /> <PackageReference Include="Microsoft.Data.SqlClient" Version="6.1.1" /> </ItemGroup>…