Select behavior for RegistrationStrategy.Skip #167
Hey, I added support for variable skip registration #167.
Skip can be configured to skip registration depending on the selected behavior. SkipBehavior has 4 states Default, ServiceType, SkipBehavior and Exact, which use TryAdd (for default and service type), a tweaked version of TryAdd and TryAddEnumerable respectively.
Added some basic test in line with the other RegistrationStrategy methods, each test checks the right number of services are registered and that the older descriptor is registered.
I'm pretty sure this is a breaking change, the new Skip method could be renamed to SkipBy so code using the old UsingRegistrationStrategy(RegistrationStrategy.Skip) would still be valid.
Hopefully this is useful, Thanks!