Lazysh source generator
February 25, 2023 ยท View on GitHub
See this for detailed tutorial.
Limitations
Unfortunately, as this project helped me to find out, we can't be more implicit about source generation.
Compiler can't run through all usages of LazyshFactory
BUT
If you think it's possible and have some hints on how to do it(how to actually emulate C++ tempaltes in C# source generation + C# generics),
THEN
please contact me.