simpleinjector / SimpleInjector

An easy, flexible, and fast Dependency Injection library that promotes best practice to steer developers towards the pit of success.
https://simpleinjector.org
MIT License
1.22k stars 152 forks source link

New SingletonLifestyle.CreateRegistration(Type, object, Container) overload prevents calling Lifestyle.Singleton.CreateRegistration(Type, Func<object>, Container) #859

Closed dotnetjunkie closed 4 years ago

dotnetjunkie commented 4 years ago

V5 added the SingletonLifestyle.CreateRegistration overload, but this causes trouble in overload resolution (as described in #858)

dotnetjunkie commented 4 years ago

Branch bug-859 created.

dotnetjunkie commented 4 years ago

This has just been fixed in v5.0.4.