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);
        }