Метод | Описание | |
---|---|---|
ChangeExtension ( string path, string>.Func |
||
Components ( string path ) : IEnumerable |
||
Equal ( string path1, string path2 ) : bool | ||
GetAbsolutePath ( string relativePath ) : string | ||
GetAbsolutePath ( string relativeTo, string relativePath ) : string | ||
GetAbsolutePathFromAssembly ( string relPath ) : string | ||
GetRelativePath ( String fromPath, String toPath ) : String |
Creates a relative path from one file or folder to another.
|
|
GetRelativePath ( string path ) : string | ||
GetUserFriendlyPath ( string path ) : string |
public static ChangeExtension ( string path, string>.Func |
||
path | string | |
selector | string>.Func | |
Результат | string |
public static Components ( string path ) : IEnumerable |
||
path | string | |
Результат | IEnumerable |
public static Equal ( string path1, string path2 ) : bool | ||
path1 | string | |
path2 | string | |
Результат | bool |
public static GetAbsolutePath ( string relativePath ) : string | ||
relativePath | string | |
Результат | string |
public static GetAbsolutePath ( string relativeTo, string relativePath ) : string | ||
relativeTo | string | |
relativePath | string | |
Результат | string |
public static GetAbsolutePathFromAssembly ( string relPath ) : string | ||
relPath | string | |
Результат | string |
public static GetRelativePath ( String fromPath, String toPath ) : String | ||
fromPath | String | Contains the directory that defines the start of the relative path. |
toPath | String | Contains the path that defines the endpoint of the relative path. |
Результат | String |
public static GetRelativePath ( string path ) : string | ||
path | string | |
Результат | string |
public static GetUserFriendlyPath ( string path ) : string | ||
path | string | |
Результат | string |