Category: .NET
-
RSCG – JKToolKit.TemplatePropertyGenerator
RSCG – JKToolKit.TemplatePropertyGenerator name JKToolKit.TemplatePropertyGenerator nuget https://www.nuget.org/packages/JKToolKit.TemplatePropertyGenerator/ link https://github.com/JKamsker/JKToolKit.TemplatePropertyGenerator author Jonas Kamsker String templating for a class This is how you can use JKToolKit.TemplatePropertyGenerator . 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/JKToolKit.TemplatePropertyGenerator
-
RSCG – MinimalApis.Discovery
name MinimalApis.Discovery nuget https://www.nuget.org/packages/MinimalApis.Discovery/ link https://github.com/shawnwildermuth/MinimalApis author Shawn Wildermuth Controller like API registering This is how you can use MinimalApis.Discovery . 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/MinimalApis.Discovery
-
Pattern: IOC
Description Inversion of Control is a principle in software engineering by which the control of objects or portions of a program is transferred to a container or framework. It’s a design principle in which custom-written portions of a computer program receive the flow of control from a generic framework. Examples in .NET : IOC DI…
-
Pattern: Lazy
Description Lazy initialization is the tactic of delaying the creation of an object,the calculation of a value,or some other expensive process until the first time it is needed. Example in .NET : Lazy Learn More Source Code for Microsoft implementation of Lazy SourceCode Lazy Learn More C2Wiki Wikipedia Homework Implement a lazy initialization of a…
-
RSCG – Farskeptic.AutoCompose
RSCG – Farskeptic.AutoCompose name Farskeptic.AutoCompose nuget https://www.nuget.org/packages/Farskeptic.AutoCompose/ link https://github.com/farskeptic/AutoCompose author farskeptic/jmagel Generating decorators for classes that implements interfaces. This is how you can use Farskeptic.AutoCompose . 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/Farskeptic.AutoCompose
-
RSCG – TypeUtilities
RSCG – TypeUtilities name TypeUtilities nuget https://www.nuget.org/packages/TypeUtilities/ link https://github.com/DragonsLord/TypeUtilities author Yevhenii Serdiuk Pick/Omit for classes ( also have some mapping ) This is how you can use TypeUtilities . The code that you start with is The code that you will use is The code that is generated is Code and…
-
RSCG – LinqGen.Generator
RSCG – LinqGen.Generator name LinqGen.Generator nuget https://www.nuget.org/packages/LinqGen.Generator/ https://www.nuget.org/packages/LinqGen/ link https://github.com/cathei/LinqGen author Maxwell Keonwoo Kang No-alloc for Linq operations This is how you can use LinqGen.Generator . 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/LinqGen.Generator
-
RSCG – AutoInvoke.Generator
RSCG – AutoInvoke.Generator name AutoInvoke.Generator nuget https://www.nuget.org/packages/AutoInvoke.Generator/ link https://github.com/LokiMidgard/AutoInvoke.Generator author Patrick Kranz Finding all implementation of an interface/class and invoke them. This is how you can use AutoInvoke.Generator . The code that you start with is The code that you will use is The code that is generated is Code and…
-
RSCG – Architect.DomainModeling
RSCG – Architect.DomainModeling name Architect.DomainModeling nuget https://www.nuget.org/packages/Architect.DomainModeling/ link https://github.com/TheArchitectDev/Architect.DomainModeling author Timo van Zijll Langhout Domain Modelling -DDD,Entity and more. Here I will show just the builder This is how you can use Architect.DomainModeling . The code that you start with is The code that you will use is The code that…
-
RSCG – CodeAnalysis
RSCG – CodeAnalysis name CodeAnalysis nuget https://www.nuget.org/packages/Feast.CodeAnalysis/ link https://github.com/feast107/CodeAnalysis author Feast Code to string literal. Unfortunately,it carries also some other CodeAnalysis generated files,which are not so useful. This is how you can use CodeAnalysis . The code that you start with is The code that you will use is The code…