C# Class X.PathEx

Mostra file Open project: dpull/UnityUtils

Public Methods

Method Description
EndWithDirectorySeparatorChar ( string path ) : bool
GetRelativePath ( string basePath, string fullPath ) : string

绝对路径转相对路径

ParsePath ( string path ) : string

Method Details

EndWithDirectorySeparatorChar() public static method

public static EndWithDirectorySeparatorChar ( string path ) : bool
path string
return bool

GetRelativePath() public static method

绝对路径转相对路径
public static GetRelativePath ( string basePath, string fullPath ) : string
basePath string 基本路径
fullPath string 绝对路径
return string

ParsePath() public static method

public static ParsePath ( string path ) : string
path string
return string