Category: RSCG
-
RSCG – CommunityToolkit.Mvvm
name CommunityToolkit.Mvvm nuget https://www.nuget.org/packages/CommunityToolkit.Mvvm link https://learn.microsoft.com/en-us/dotnet/communitytoolkit/mvvm/generators/overview author Microsoft Shows how to implement INotifyPropertyChanged,ObservableProperty and RelayCommand Unfortunately,not yet a separate package just for those. Also,this show that RSCG could generate multiple partial declarations This is how you can use CommunityToolkit.Mvvm . The code that you start with is The code that you will use is…
-
RSCG – RSCG_Static
name RSCG_Static nuget https://www.nuget.org/packages/RSCG_Static/ link https://github.com/ignatandrei/RSCG_Static author Andrei Ignat Generate interfaces and classes from static classes This is how you can use RSCG_Static . 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/RSCG_Static
-
RSCG – Microsoft.Extensions.Logging
RSCG – Microsoft.Extensions.Logging name Microsoft.Extensions.Logging nuget https://www.nuget.org/packages/Microsoft.Extensions.Logging/ link https://learn.microsoft.com/en-us/dotnet/core/extensions/logger-message-generator-generators/ author Microsoft Logging defined and compiled This is how you can use Microsoft.Extensions.Logging . 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/Microsoft.Extensions.Logging
-
RSCG – SkinnyControllersCommon
RSCG – SkinnyControllersCommon name SkinnyControllersCommon nuget https://www.nuget.org/packages/SkinnyControllersCommon link https://github.com/ignatandrei/SkinnyControllersGenerator/ author Ignat Andrei Automatically add controllers actions for any class injected in constructor This is how you can use SkinnyControllersCommon . The code that you start with is The code that you will use is The code that is generated is Code…
-
RSCG – System.Text.RegularExpressions
RSCG – System.Text.RegularExpressions name System.Text.RegularExpressions nuget https://www.nuget.org/packages/System.Text.RegularExpressions/ link https://learn.microsoft.com/en-us/dotnet/standard/base-types/regular-expression-source-generators/ author Microsoft Regex compiled This is how you can use System.Text.RegularExpressions . 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/System.Text.RegularExpressions
-
RSCG – RSCG_Utils
RSCG – RSCG_Utils name RSCG_Utils nuget https://www.nuget.org/packages/RSCG_Utils link https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/source-generation author Ignat Andrei Add files as C# consts This is how you can use RSCG_Utils . 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/RSCG_Utils
-
RSCG – System.Text.Json
name System.Text.Json nuget https://www.nuget.org/packages/System.Text.Json/ link https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/source-generation author Microsoft Json Serialize without reflection This is how you can use System.Text.Json . 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/System.Text.Json
-
RSCG – RSCG_TimeBombComment
name RSCG_TimeBombComment nuget https://www.nuget.org/packages/RSCG_TimeBombComment/ link http://msprogrammer.serviciipeweb.ro/category/roslyn/ author Andrei Ignat This will generate an error from the comment after a certain date This is how you can use RSCG_TimeBombComment . The code that you start with is The code that you will use is The code that is generated is Code and…
-
RSCG – ThisAssembly
RSCG – ThisAssembly name ThisAssembly nuget https://www.nuget.org/packages/ThisAssembly link https://www.clarius.org/ThisAssembly/ author Daniel Cazzulino The ThisAssembly.Info allows you access to the Assembly Information as constants,instead of going to reflection each time. I found useful to see the assembly version right away in any project that I have. This is how you can use ThisAssembly…
-
RSCG–ISourceGenerator porting to IIncrementalGenerator in 3 steps
Roslyn Source Code Generators (RSCG) have deprecated the ISourceGenerator (roslyn/source-generators.md at main · dotnet/roslyn · GitHub ) vs the new interface IIncrementalGenerator,roslyn/incremental-generators.md at main · dotnet/roslyn · GitHub . That because of the idea of speed of generating code – and the idea of not generating twice the same code. How is the implementation of…