Esempio n. 1
0
 public static ImageSource GetImageSource(Assembly assembly, string path)
 {
     try
     {
         return(StreamObj.ToImageSource(Get(assembly, path)));
     }
     catch
     {
         return(null);
     }
 }
Esempio n. 2
0
 public static string GetString(Assembly assembly, string path)
 {
     try
     {
         return(StreamObj.ToString(Get(assembly, path)));
     }
     catch
     {
         return(null);
     }
 }