Ejemplo n.º 1
0
        private Task <BitmapSource> GetJobImage(string jobid, CancellationToken canceltoken)
        {
            var request = new HttpDownloadImageRequest(_apiurl + ANNOTATEDIMAGEURL, jobid);

            return(request.Request(canceltoken));
        }
Ejemplo n.º 2
0
        protected override Task <BitmapSource> GetSingleImage(Coordinates coordinates, double fovW, double fovH, CancellationToken ct, int width, int height)
        {
            var request = new HttpDownloadImageRequest(Url, coordinates.RADegrees, coordinates.Dec, fovW, fovH);

            return(request.Request(ct));
        }