You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
abstractclassFoo{}abstractclassBar:Foo{}classFooBar: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
Version Info
Stylet version: 1.3.6
Runtime version: 6.0.302
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: