AvalonStudio.Platforms.Platform.ToPlatformPath C# (CSharp) Method

ToPlatformPath() public static method

public static ToPlatformPath ( this path ) : string
path this
return string
        public static string ToPlatformPath(this string path)
        {
            switch (PlatformIdentifier)
            {
                case PlatformID.Win32NT:
                    return path.Replace('/', '\\');

                default:
                    return path.ToAvalonPath();
            }
        }