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

Services must be registered by either type or expression, but not both. #19

Closed jammycakes closed 6 years ago

jammycakes commented 6 years ago

Throw an exception if the ServiceDefinition constructor receives either both or neither.

jammycakes commented 6 years ago

No changes needed to the fluent interface.