Aggressive Monkey
- Obsoleted
AddFromAttributes, addingUsingAttributesinstead.
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());