Closed SimonG96 closed 5 years ago
Add Instance() method to DefaultRegistration to return the given instance when the registered type is resolved.
Instance()
DefaultRegistration
This should only be possible for Lifestyle.Singleton.
Lifestyle.Singleton
This is not needed once #24 is implemented.
Add
Instance()
method toDefaultRegistration
to return the given instance when the registered type is resolved.This should only be possible for
Lifestyle.Singleton
.