Mono.Debugger.DebuggerConfiguration.WindowsToUnix C# (CSharp) 메소드

WindowsToUnix() 공개 정적인 메소드

public static WindowsToUnix ( string path ) : string
path string
리턴 string
        public static string WindowsToUnix(string path)
        {
            path = path.Replace ('\\', '/');
            return path;
        }

Usage Example

예제 #1
0
        public string MapFileName(string path)
        {
            path = DebuggerConfiguration.WindowsToUnix(path);
            foreach (KeyValuePair <string, string> map in directory_maps)
            {
                if (map_file_name(ref path, map.Key, map.Value))
                {
                    return(path);
                }
            }

            foreach (KeyValuePair <string, string> map in Config.DirectoryMaps)
            {
                if (map_file_name(ref path, map.Key, map.Value))
                {
                    return(path);
                }
            }

            return(path);
        }