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

Is it possible to register a type without an interface? #21

Closed SimonG96 closed 5 years ago

SimonG96 commented 5 years ago

Can you register and resolve only a Type without creating an referencing an interface for it?

SimonG96 commented 5 years ago

Currently not possible, add a new method to the RegistrationFactory that allows this and test if it actually works.