File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -506,13 +506,13 @@ For more information on the Circuit Breaker pattern in general see:
506506Policy < UserAvatar >
507507 .Handle <FooException >()
508508 .OrResult (null )
509- .Fallback <UserAvatar >(UserAvatar .Blank )
509+ .Fallback <UserAvatar >(UserAvatar .Blank );
510510
511511// Specify a func to provide a substitute value, if execution faults.
512512Policy < UserAvatar >
513513 .Handle <FooException >()
514514 .OrResult (null )
515- .Fallback <UserAvatar >(() => UserAvatar .GetRandomAvatar ()) // where: public UserAvatar GetRandomAvatar() { ... }
515+ .Fallback <UserAvatar >(() => UserAvatar .GetRandomAvatar ()); // where: public UserAvatar GetRandomAvatar() { ... }
516516
517517// Specify a substitute value or func, calling an action (eg for logging) if the fallback is invoked.
518518Policy < UserAvatar >
You can’t perform that action at this time.
0 commit comments