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

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

Returns the fully qualified path to the specified sound file. First checks the User's sounds folder. If it doesn't find the file there, returns the path to the global ACAT sounds folder
public static GetSoundPath ( string soundFile ) : String
soundFile string input sound file name
Результат String
        public static String GetSoundPath(string soundFile)
        {
            var fullPath = Path.Combine(GetUserSoundsDir(), soundFile);
            return File.Exists(fullPath) ? fullPath : Path.Combine(GetSoundsDir(), soundFile);
        }