Ejemplo n.º 1
0
 public MockPaginationService(string baseUrl,
                              Func <string, Task <HttpResponseMessage> > getHttpAsync,
                              DefaultPaginationOptions options = null)
     : base(baseUrl, getHttpAsync, options)
 {
 }
Ejemplo n.º 2
0
 public UsersService(Func <string, Task <HttpResponseMessage> > getHttpAsync, DefaultPaginationOptions options = null)
     : base("AsyncLightQuery", getHttpAsync, options)
 {
 }
Ejemplo n.º 3
0
        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)
 {
 }