Ejemplo n.º 1
0
        /// <summary>
        /// Configures this instance to retry on exceptions of any type.
        /// </summary>
        public static IRetry CatchAnyException(this IRetry retry, Predicate <Exception> exceptionPredicate = null)
        {
            retry.GuardNotNull(nameof(retry));

            return(retry.Catch(true, exceptionPredicate));
        }