Category: .NET

  • 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 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/mvvmgen

  • 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 The code that you will use is   The code that is generated is Code and pdf at…

  • 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 The code that you will use is   The code that…

  • Interlude–AI Code Review

    CodeRabbit ( https://www.coderabbit.ai/ ) provides a free tier for OSS to do code reviews Also GitHub Copilot does that. So I tried both . And it is nice to see their suggestions ( for example, see https://github.com/ignatandrei/Filters/pull/1 and the other PR  ) and then telling to another AI to do the changes It was pretty…

  • Adding Linq functions

    LINQ is a powerful feature in C#, and this post showcases its integration into filter tests. By adding LINQ-friendly overloads and corresponding BDD tests, the filters became more versatile and idiomatic for C# developers. I give the general instruction that, << for any function with 2 parameters, add a function that can be used in…

  • Pareto principle for CodeCoverage

    The repeated discussion with AI about each filter ( string, boolean , number and so on) bring code coverage is 87.28 %. I do aim to reach 100%  . Why ? Because I haven’t created or teste the project manually , but it is MY project under MY name . Resume of how I have…

  • 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 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/Schema

  • 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 The code that you will use is   The code that is generated is Code and…

  • 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 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/JinShil.MixinSourceGenerator

  • Adding Code Coverage

    Before  adding functional functions to address Linq  Where extension , I do aim to have 100 % code coverage – in order to know that all functions well . So tried to add code coverage with AI  . You will find below the Whole discussion . It works enough well , with 2 problems: Repeating…