public MockPaginationService(string baseUrl, Func <string, Task <HttpResponseMessage> > getHttpAsync, DefaultPaginationOptions options = null) : base(baseUrl, getHttpAsync, options) { }
public UsersService(Func <string, Task <HttpResponseMessage> > getHttpAsync, DefaultPaginationOptions options = null) : base("AsyncLightQuery", getHttpAsync, options) { }
private UsersService GetService(DefaultPaginationOptions options = null) { var service = new UsersService(url => _client.GetAsync(url), options); return(service); }
public UsersService(Func <string, Task <HttpResponseMessage> > getHttpAsync, DefaultPaginationOptions options = null) : this((url, _) => getHttpAsync(url), options) { }