SimonG96 / LightweightIocContainer

A lightweight IOC Container that is powerful enough to do all the things you need it to do.
MIT License
4 stars 2 forks source link

Append factory registration fluently to type registration #50

Closed SimonG96 closed 2 years ago

SimonG96 commented 2 years ago

Instead of the current registration append factory registration fluently:

IocContainer.Register<TInterface, TImpl>().WithFactory<TFactory>();
SimonG96 commented 2 years ago

Probably needed for #44

SimonG96 commented 2 years ago

Branch: https://github.com/SimonG96/LightweightIocContainer/tree/AppendFactoryRegistration_%2350