Category: RSCG

  • RSCG – TrimItEasy

    RSCG – TrimItEasy     name TrimItEasy nuget https://www.nuget.org/packages/TrimItEasy/ link https://github.com/phongnguyend/TrimItEasy author Phong Nguyen trimming eacg string from a class properties   This is how you can use TrimItEasy . The code that you start with is The code that you will use is   The code that is generated is // #nullable enable using…

  • RSCG – SatorImaging.TDoubles

    RSCG – SatorImaging.TDoubles     name SatorImaging.TDoubles nuget https://www.nuget.org/packages/SatorImaging.TDoubles/ link https://github.com/sator-imaging/TDoubles author Sator Imaging Generating test stubs with mocking for interfaces   This is how you can use SatorImaging.TDoubles . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net10.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> <IsPackable>false</IsPackable> <IsTestProject>true</IsTestProject> </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" /> <PackageReference Include="MSTest.TestAdapter" Version="2.2.10" />…

  • RSCG – PropertyResolvers

    RSCG – PropertyResolvers     name PropertyResolvers nuget https://www.nuget.org/packages/PropertyResolvers/ link https://github.com/tombiddulph/PropertyResolvers author Tom Biddulph Generating code for switch for property in C#   This is how you can use PropertyResolvers . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net10.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <ItemGroup> <PackageReference Include="PropertyResolvers" Version="0.0.9"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles;…

  • RSCG – Pinecone.TypedPath

    RSCG – Pinecone.TypedPath     name Pinecone.TypedPath nuget https://www.nuget.org/packages/Pinecone.TypedPath/ link https://github.com/nickpinecone/typed-path author Nick Pinecone Generating typed paths for file system navigation and manipulation.   This is how you can use Pinecone.TypedPath . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net10.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <ItemGroup> <AdditionalFiles Include="MyFolderToShow/**" /> </ItemGroup> <ItemGroup> <PackageReference Include="Pinecone.TypedPath"…

  • RSCG – IncrementalSourceGenerator.BuilderPattern

        name IncrementalSourceGenerator.BuilderPattern nuget https://www.nuget.org/packages/IncrementalSourceGenerator.BuilderPattern/ link https://github.com/MartinBarrettNielsen11/Incremental-source-generator-builder-pattern author Martin Barrett Nielsen Generate builder pattern code for classes with many properties   This is how you can use IncrementalSourceGenerator.BuilderPattern . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net10.0</TargetFramework> <Nullable>enable</Nullable> </PropertyGroup> <PropertyGroup> <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> <CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath> </PropertyGroup> <ItemGroup> <PackageReference Include="IncrementalSourceGenerator.BuilderPattern" Version="1.0.2" /> </ItemGroup> </Project>…

  • RSCG – Clap.Net

        name Clap.Net nuget https://www.nuget.org/packages/Clap.Net/ link https://github.com/simon-curtis/Clap.Net author Simon Curtis Command line arguments parsing   This is how you can use Clap.Net . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net10.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <PropertyGroup> <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> <CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath> </PropertyGroup> <ItemGroup> <PackageReference Include="Clap.Net" Version="0.2.39" /> </ItemGroup> </Project> The code that you will…

  • RSCG – EndpointHelpers

        name EndpointHelpers nuget https://www.nuget.org/packages/EndpointHelpers/ link https://github.com/gumbarros/EndpointHelpers author Gustavo Mauricio de Barros Generating endpoint helpers for ASP.NET Core MVC   This is how you can use EndpointHelpers . The code that you start with is <Project Sdk="Microsoft.NET.Sdk.Web"> <PropertyGroup> <TargetFramework>net10.0</TargetFramework> <Nullable>enable</Nullable> <ImplicitUsings>enable</ImplicitUsings> </PropertyGroup> <ItemGroup> <PackageReference Include="EndpointHelpers" Version="2.0.2" /> </ItemGroup> <PropertyGroup> <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> <CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath> </PropertyGroup> </Project> The…

  • RSCG – serde

    name serde nuget https://www.nuget.org/packages/serde/ link https://github.com/serdedotnet/serde author Andy Gocke Serializing in SERDE format   This is how you can use serde . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net10.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <PropertyGroup> <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> <CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath> </PropertyGroup> <ItemGroup> <PackageReference Include="Serde" Version="0.17.1" /> </ItemGroup> </Project> The code that you will use is…

  • RSCG – ReflectionIT.DisposeGenerator

        name ReflectionIT.DisposeGenerator nuget https://www.nuget.org/packages/ReflectionIT.DisposeGenerator/ link https://github.com/sonnemaf/ReflectionIT.DisposeGenerator author Fons Sonnemans Automatically implements the IDisposable pattern for classes that contain disposable fields.   This is how you can use ReflectionIT.DisposeGenerator . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net10.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <PropertyGroup> <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> <CompilerGeneratedFilesOutputPath>$(BaseIntermediateOutputPath)\GX</CompilerGeneratedFilesOutputPath> </PropertyGroup> <ItemGroup> <PackageReference Include="ReflectionIT.DisposeGenerator" Version="0.4.2-preview" />…

  • RSCG – Atulin.AutoDbSet

    name Atulin.AutoDbSet nuget https://www.nuget.org/packages/Atulin.AutoDbSet/ link https://github.com/Atulin/AutoDbSet author Angius Atulin Generating DbSet properties for Entity Framework Core DbContext classes   This is how you can use Atulin.AutoDbSet . The code that you start with is <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net10.0</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> </PropertyGroup> <ItemGroup> <PackageReference Include="Atulin.AutoDbSet" Version="2.0.0" /> <PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="10.0.11" /> <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="10.0.11"> <PrivateAssets>all</PrivateAssets>…