/// <summary> /// Get List of items /// </summary> /// <typeparam name="T">Type of requested item : Organisation,DataSet</typeparam> /// <returns></returns> public ResponseList <T> GetList <T>() { var result = new ResponseList <T>(); _requestedAPIURL = new Uri(apiURIBuilder(typeof(T), true)) .AddQuery("page_size", PageSize.ToString()) .AddQuery("page", RequestedPage.ToString()); return(Request <ResponseList <T> >()); }
internal GetPageAsyncRequest(RequestedPage page, object userState) { Page = page; UserState = userState; Cancelled = false; }
// Strongly typed version of Equals public bool Equals(RequestedPage obj) { return this.PageNumber == obj.PageNumber; }
// Strongly typed version of Equals public bool Equals(RequestedPage obj) { return(this.PageNumber == obj.PageNumber); }