Releases: khellang/Scrutor
Releases · khellang/Scrutor
Aggressive Monkey
- Obsoleted
AddFromAttributes
, addingUsingAttributes
instead.
This means you can now filter classes before you add them using the attributes;
collection.Scan(scan => scan.FromAssemblyOf<ITransientServiceToCombine>()
.AddClasses(classes => classes.AssignableTo<ITransientServiceToCombine>())
.UsingAttributes());
The equivalent to AddFromAttributes
(without a delegate argument) would be
collection.Scan(scan => scan.FromAssemblyOf<ITransientServiceToCombine>().AddClasses().UsingAttributes());
Surreal Shower
Eagle Accidentally
Subtle Breeze
- Fixed bug where generic types were registered as implementation types
Nervous Boomerang
- Added ability to register non-public classes using the
publicOnly
parameter
Forgotten Doorstop
- Added a new interface convention,
AsMatchingInterface
- @adamhathcock - Fixed namespace bug - @adamhathcock