jammycakes / factoryfactory

Yet another IOC container for .NET, designed from the ground up to support the ASP.NET Core DI abstractions.
MIT License
0 stars 1 forks source link

Resolutions by type must be concrete classes that implement their registering type. #20

Closed jammycakes closed 6 years ago

jammycakes commented 6 years ago

Disallow, for example:

Define<IService>().As<IService>()
Define<IService>().As<object>()

However make sure to allow for open generics.