A tiny package for an abstract base to inject a chain of responsibility into a DI-container
$ dotnet add package Swallow.ChainOfInjectionBehind the quite ominous name is hiding a very generic and abstract way of registering a structure that resembles a Chain of Responsibility to any DI-container, like Simple Injector orServiceCollection.
The original concept came from this really helpful Answer on StackOverflow, but I've changed quite a lot of it to make it generic and less "Expression"-y. The general idea, however, remains the same.
| Package | Description |
|---|---|
| Contains the functionality of chaining and the required adaptor a DI container needs to provide | |
Bindings to use the chaining with IServiceCollection | |
Bindings to use the chainng with SimpleInjector |