Category: .NET Core
-
RSCG – Biwen.AutoClassGen
RSCG – Biwen.AutoClassGen name Biwen.AutoClassGen nuget https://www.nuget.org/packages/Biwen.AutoClassGen/ link https://github.com/vipwan/Biwen.AutoClassGen author vipwan Generating properties from interface to class. This is how you can use Biwen.AutoClassGen . 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/Biwen.AutoClassGen
-
RSCG – PrimaryParameter
RSCG – PrimaryParameter name PrimaryParameter nuget https://www.nuget.org/packages/FaustVX.PrimaryParameter.SG link https://github.com/FaustVX/PrimaryParameter author FaustVX Generating properties from .NET 8 constructor parameters This is how you can use PrimaryParameter . 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/PrimaryParameter
-
RSCG – jsonConverterSourceGenerator
RSCG – jsonConverterSourceGenerator name jsonConverterSourceGenerator nuget https://www.nuget.org/packages/Aviationexam.GeneratedJsonConverters.SourceGenerator/ link https://github.com/aviationexam/json-converter-source-generator author Aviationexam Json Polymorphic generator This is how you can use jsonConverterSourceGenerator . 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/jsonConverterSourceGenerator
-
RSCG – N.SourceGenerators.UnionTypes
RSCG – N.SourceGenerators.UnionTypes name N.SourceGenerators.UnionTypes nuget https://www.nuget.org/packages/N.SourceGenerators.UnionTypes/ link https://github.com/Ne4to/N.SourceGenerators.UnionTypes author Alexey Sosnin Generating different union types This is how you can use N.SourceGenerators.UnionTypes . 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/N.SourceGenerators.UnionTypes
-
RSCG – AutoConstructor
RSCG – AutoConstructor name AutoConstructor nuget https://www.nuget.org/packages/AutoConstructor/ link https://github.com/k94ll13nn3/AutoConstructor author Kévin Gallienne Generating constructor for class with many properties This is how you can use AutoConstructor . 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 – DudNet
RSCG – DudNet name DudNet nuget https://www.nuget.org/packages/Jwshyns.DudNet/ link https://github.com/jwshyns/DudNet author jwshyns Generate proxy classes for the principal classes This is how you can use DudNet . 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/DudNet
-
RSCG – MinimalApiBuilder
RSCG – MinimalApiBuilder name MinimalApiBuilder nuget https://www.nuget.org/packages/MinimalApiBuilder/ link https://github.com/JensDll/MinimalApiBuilder author Generate Minimal API from classes This is how you can use MinimalApiBuilder . 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/MinimalApiBuilder
-
What I have learned from 80+ RSCG
I have analyzed more than 80 Roslyn Source Code Generators – see https://ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG . The conclusions are here: RSCG is here to stay . There are examples from Microsoft – and a bunch of other RSCG First version of RSCG was simple,but VS not performant. The second version is more difficult to implement – but…
-
Adding more data to a result of a task
Every now and then I need to generate,from an array of data,an array of Tasks and then await Task.WhenAll(TheTaskArray) The problem is that I need to consolidate the return data of each array with the original array – to make some modifications. For example,in the generator of https://ignatandrei.github.io/RSCG_Examples/v2/docs/category/rscg-examples I do something like this My first…
-
RSCG – DynamicsMapper
RSCG – DynamicsMapper name DynamicsMapper nuget https://www.nuget.org/packages/YC.DynamicsMapper/ link https://github.com/YonatanCohavi/DynamicsMapper/ author Yonatan Cohavi Mapper for Dataverse client – generates also column names from properties This is how you can use DynamicsMapper . The code that you start with is The code that you will use is The code that is generated is…