ACAT.Lib.Core.Utility.FileUtils.GetImagePath C# (CSharp) Метод

GetImagePath() публичный статический Метод

Returns the fully qualified path to the specified image file. First checks the User's image folder. If it doesn't find the file there, returns the path to the global ACAT images folder
public static GetImagePath ( string imageFile ) : String
imageFile string
Результат String
        public static String GetImagePath(string imageFile)
        {
            String fullPath = Path.Combine(GetUserImageDir(), imageFile);
            return File.Exists(fullPath) ? fullPath : Path.Combine(GetAssetsDir(), ImagesDir, imageFile);
        }