예제 #1
0
파일: Image.cs 프로젝트: csdhome/evelib
        /// <summary>
        ///     Returns the type icon
        /// </summary>
        public byte[] GetTypeIconData(long typeId, TypeIconSize size)
        {
            const string relUri = "/InventoryType";
            const string ext    = ".png";

            return(requestImageData(relUri, typeId, (int)size, ext));
        }
예제 #2
0
파일: Image.cs 프로젝트: ams-tech/evelib
        /// <summary>
        ///     Saves the image to disk , and returns the path to the image.
        /// </summary>
        public Task <string> GetTypeIconAsync(long typeId, TypeIconSize size, string path)
        {
            const string relUri = "/InventoryType";
            const string ext    = ".png";

            return(requestImageAsync(relUri, typeId, (int)size, ext, path));
        }
예제 #3
0
파일: Image.cs 프로젝트: dinomight/evelib
 /// <summary>
 ///     Returns the type icon.
 /// </summary>
 public Task<byte[]> GetTypeIconDataAsync(long typeId, TypeIconSize size) {
     const string relUri = "/InventoryType";
     const string ext = ".png";
     return requestImageDataAsync(relUri, typeId, (int) size, ext);
 }
예제 #4
0
파일: Image.cs 프로젝트: dinomight/evelib
 /// <summary>
 ///     Returns the type icon.
 /// </summary>
 public byte[] GetTypeIconData(long typeId, TypeIconSize size) {
     return GetTypeIconDataAsync(typeId, size).Result;
 }
예제 #5
0
파일: Image.cs 프로젝트: dinomight/evelib
 /// <summary>
 ///     Saves the image to disk , and returns the path to the image.
 /// </summary>
 public Task<string> GetTypeIconAsync(long typeId, TypeIconSize size, string path) {
     const string relUri = "/InventoryType";
     const string ext = ".png";
     return requestImageAsync(relUri, typeId, (int) size, ext, path);
 }
예제 #6
0
파일: Image.cs 프로젝트: dinomight/evelib
 /// <summary>
 ///     Saves the image to disk , and returns the path to the image.
 /// </summary>
 public string GetTypeIcon(long typeId, TypeIconSize size, string path) {
     return GetTypeIconAsync(typeId, size, path).Result;
 }
예제 #7
0
파일: Image.cs 프로젝트: nozzy83/evelib
 /// <summary>
 ///     Saves the image to disk , and returns the path to the image.
 /// </summary>
 public string GetTypeIcon(long typeId, TypeIconSize size)
 {
     const string relUri = "/InventoryType";
     const string ext = ".png";
     return requestImage(relUri, typeId, (int) size, ext);
 }
예제 #8
0
파일: Image.cs 프로젝트: ams-tech/evelib
 /// <summary>
 ///     Returns the type icon.
 /// </summary>
 public byte[] GetTypeIconData(long typeId, TypeIconSize size)
 {
     return(GetTypeIconDataAsync(typeId, size).Result);
 }
예제 #9
0
파일: Image.cs 프로젝트: ams-tech/evelib
 /// <summary>
 ///     Saves the image to disk , and returns the path to the image.
 /// </summary>
 public string GetTypeIcon(long typeId, TypeIconSize size, string path)
 {
     return(GetTypeIconAsync(typeId, size, path).Result);
 }