Ejemplo n.º 1
0
 public static void RenderServiceAsync(Action<byte[]> callback, AssetFile file, RenderServiceFormat format = RenderServiceFormat.PNG)
 {
     DownloadFileAsync(callback, new Uri(new Uri(RenderServiceBaseURL), string.Format("/file/{0}/{1}.{2}",
             file.Signature, file.FileId, Enum.GetName(typeof(RenderServiceFormat), format).ToLower())));
 }
Ejemplo n.º 2
0
 public static byte[] RenderService(AssetFile file, RenderServiceFormat format = RenderServiceFormat.PNG)
 {
     return DownloadFile(new Uri(new Uri(RenderServiceBaseURL), string.Format("/file/{0}/{1}.{2}",
             file.Signature, file.FileId, Enum.GetName(typeof(RenderServiceFormat), format).ToLower())));
 }
Ejemplo n.º 3
0
 public static byte[] RenderService(AssetFile file, RenderServiceFormat format = RenderServiceFormat.PNG)
 {
     return(DownloadFile(new Uri(new Uri(RenderServiceBaseURL), string.Format("/file/{0}/{1}.{2}",
                                                                              file.Signature, file.FileId, Enum.GetName(typeof(RenderServiceFormat), format).ToLower()))));
 }
Ejemplo n.º 4
0
 public static void RenderServiceAsync(Action <byte[]> callback, AssetFile file, RenderServiceFormat format = RenderServiceFormat.PNG)
 {
     DownloadFileAsync(callback, new Uri(new Uri(RenderServiceBaseURL), string.Format("/file/{0}/{1}.{2}",
                                                                                      file.Signature, file.FileId, Enum.GetName(typeof(RenderServiceFormat), format).ToLower())));
 }