Skip to content

Instantly share code, notes, and snippets.

@bpatra
Created December 5, 2020 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bpatra/51a215059688299229ae8c406a1f4d89 to your computer and use it in GitHub Desktop.
Save bpatra/51a215059688299229ae8c406a1f4d89 to your computer and use it in GitHub Desktop.
public interface IRetryQueryable<T>
{
IRetryQueryable<T> Where(Expression<Func<T, bool>> predicate);
IDocumentQuery<T> AsDocumentQuery();
IEnumerable<T> AsRetryEnumerable();
IRetryQueryable<TResult> SelectMany<TResult>(Expression<Func<T, IEnumerable<TResult>>> predicate);
IRetryQueryable<TResult> Select<TResult>(Expression<Func<T, TResult>> predicate);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment