YairHalberstadt / stronginject

compile time dependency injection for .NET
MIT License
845 stars 24 forks source link

Seperate generator and visitor #92

Closed YairHalberstadt closed 3 years ago

YairHalberstadt commented 3 years ago

This is a pretty major refactoring which separates the code which calculates what and how to create dependencies, from the code which emits the C# to create the dependencies. It does change the output C# in minor, non semantically changing, ways.

This puts us on a firm basis for future features as we now have a much richer set of information available to draw on when generating code.