From 107474fc63c5efe7f8b667ba3cf6e978ca9ae6a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariusz=20St=C4=99pie=C5=84?= <62397363+mariusz96@users.noreply.github.com> Date: Wed, 30 Oct 2024 08:28:23 +0100 Subject: [PATCH] update readme --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2e1d4bd..2d01fcb 100644 --- a/README.md +++ b/README.md @@ -88,9 +88,9 @@ You can even define a fallback that will be executed after your entire chain: var exceptionHandlersChain = new ResponsibilityChain(new ActivatorMiddlewareResolver()) .Chain() // The order of middleware being chained matters .Chain() - .Finally(); + .Finally(); -public class DoSomething : IFinally +public class ExceptionHandlerFallback : IFinally { public bool Finally(Exception parameter) { @@ -202,9 +202,9 @@ If you want to, you can use the asynchronous version, using asynchronous middlew var exceptionHandlersChain = new AsyncResponsibilityChain(new ActivatorMiddlewareResolver()) .Chain() // The order of middleware being chained matters .Chain() - .Finally(); + .Finally(); -public class ExceptionHandlerFallback : IAsyncFinally +public class ExceptionHandlerAsyncFallback : IAsyncFinally { public Task Finally(Exception parameter) { @@ -374,9 +374,9 @@ With: var exceptionHandlersChain = new ResponsibilityChain(new ActivatorMiddlewareResolver()) .Chain() .Chain() - .Finally(); + .Finally(); -public class DoSomething : IFinally +public class ExceptionHandlerFallback : IFinally { public bool Finally(Exception parameter) {