public override bool CanRetry(Exception exception, out RetryContext <TContext> retryContext) { retryContext = new NoRetryContext <TContext>(Context, exception, CancellationToken); return(false); }
public bool CanRetry(Exception exception, out RetryContext <TContext> retryContext) { retryContext = new NoRetryContext <TContext>(_context, exception); return(false); }