Description
Binding an abstract base type ToAllImplementations() when there is an abstract type in the assembly which inherits from it causes a StyletIoCRegistrationException.
To Reproduce
abstract class Foo { }
abstract class Bar : Foo { }
class FooBar : Bar { }
// ...
builder.Bind<Foo>().ToAllImplementations();
// On Building...
// StyletIoC.StyletIoCRegistrationException: Type Bar is not a concrete class, and so can't be used to implemented service Foo
Description Binding an abstract base type
ToAllImplementations()
when there is an abstract type in the assembly which inherits from it causes aStyletIoCRegistrationException
.To Reproduce
Version Info