2.15.0
Improvements
- Introduce
SetPolicyResultFailedIf(<T>)
methods for thePolicyCollection
and thePolicyDelegateCollection(<T>)
classes. - Introduce
IncludeInnerError<TInnerException>
andExcludeInnerError<TInnerException>
methods for policy processors and library policies(RetryPolicy
,SimplePolicy
andFallbackPolicy
). - Cross-synchronisation support for invoking a non-generic fallback delegate when a generic one is not set.
Small changes
- Reduce allocations by using only a single instance of the
RetryErrorContext
class in Retry processing. - Add
Apply<T>
extension method toAction<T>
delegate. - Refactor
FallbackPolicyBase
class.
Docs changes
- Correct the doc comments for the
SetPolicyResultFailedIfInner
methods of the library policies. - Update 'PolicyResult handlers' README Chapter.