Responsible Chains
ResponsibleChains
is a library for easily implementing a chain of responsibility pattern.
After installing the NuGet package, a chain of responsibility can be added to the dependency injection in startup.
Example:
public void ConfigureServices(IServiceCollection services)
{
services.AddResponsibleChain<IMyChain>()
.WithLink<MyFirstLink>()
.WithLink<MySecondLink>()
.WithLink<DefaultLink>();
...
}
See https://github.com/CarsonTolleshaug/ResponsibleChains for more info.
This project is feature complete. Use github issues to suggest new features or report a bug.