Skip to content

Releases: khellang/Scrutor

Aggressive Monkey

22 Apr 12:00
Compare
Choose a tag to compare
  • Obsoleted AddFromAttributes, adding UsingAttributes 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

22 Apr 08:48
Compare
Choose a tag to compare
  • Added feature to filter attribute registrations
  • Throw on duplicate or invalid attribute registrations (@messerm in #9)

Eagle Accidentally

08 Apr 09:41
Compare
Choose a tag to compare
  • Fixed bug where multiple attributes were ignored. (@Kharos in #8)

Subtle Breeze

07 Mar 17:19
Compare
Choose a tag to compare
  • Fixed bug where generic types were registered as implementation types

Nervous Boomerang

29 Feb 14:12
Compare
Choose a tag to compare
  • Added ability to register non-public classes using the publicOnly parameter

Forgotten Doorstop

16 Feb 10:59
Compare
Choose a tag to compare