ACAT.Lib.Core.Utility.FileUtils.GetImagePath C# (CSharp) Method

GetImagePath() public static method

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
return String
        public static String GetImagePath(string imageFile)
        {
            String fullPath = Path.Combine(GetUserImageDir(), imageFile);
            return File.Exists(fullPath) ? fullPath : Path.Combine(GetAssetsDir(), ImagesDir, imageFile);
        }