コード例 #1
0
 public void ThrowsErrorOnNotFound()
 {
     Assert.Throws <ArgumentException>(() => RenderService.GetImage("45345345", "43534643", FileFormat.png));
 }
コード例 #2
0
 /// <summary>
 /// Returns the icon as a Bitmap
 /// </summary>
 /// <returns>Icon as a Bitmap</returns>
 public Bitmap GetImage()
 {
     return(RenderService.GetImage(icon));
 }
コード例 #3
0
        public void CanRenderBitmap()
        {
            Bitmap bitmap = RenderService.GetImage("943538394A94A491C8632FBEF6203C2013443555", "102478", FileFormat.png);

            Assert.NotNull(bitmap);
        }