Свойство | Тип | Описание | |
---|---|---|---|
CONTENTNAMINGSECTIONKEY | string |
Свойство | Тип | Описание | |
---|---|---|---|
GetInvalidPathException | |||
GetParentPathSafe | string | ||
IsPathExists | bool | ||
PathExists | bool |
Метод | Описание | |
---|---|---|
CheckValidName ( string name ) : void | ||
CheckValidPath ( string path ) : void | ||
Combine ( ) : string | ||
Combine ( string path1, string path2 ) : string |
Concatenates the specified pathes.
|
|
GetDepth ( string path ) : int | ||
GetFileName ( string path ) : string |
Gets the file name from a valid path, which is located after the last PathSeparator.
|
|
GetFileNameSafe ( string path ) : string |
Gets the file name from a path, which is located after the last PathSeparator, without checking path validity.
|
|
GetParentPath ( string path ) : string |
Gets the parent path from a path.
|
|
IsInTree ( string targetPath, string rootPath ) : bool | ||
IsInvalidNameChar ( char c ) : bool | ||
IsInvalidPathChar ( char c ) : bool | ||
IsValidName ( string name ) : PathResult | ||
IsValidPath ( string path ) : PathResult |
Determines whether the specified path is valid.
|
|
NameContainsInvalidChar ( string s ) : bool | ||
PathContainsInvalidChar ( string s ) : bool |
Метод | Описание | |
---|---|---|
GetInvalidPathException ( PathResult result, string path ) : |
||
GetParentPathSafe ( string path ) : string | ||
IsPathExists ( string path ) : bool | ||
PathExists ( string path ) : bool |
public static CheckValidName ( string name ) : void | ||
name | string | |
Результат | void |
public static CheckValidPath ( string path ) : void | ||
path | string | |
Результат | void |
public static Combine ( string path1, string path2 ) : string | ||
path1 | string | The path 1. |
path2 | string | The path 2. |
Результат | string |
public static GetDepth ( string path ) : int | ||
path | string | |
Результат | int |
public static GetFileName ( string path ) : string | ||
path | string | The path. |
Результат | string |
public static GetFileNameSafe ( string path ) : string | ||
path | string | The path. |
Результат | string |
public static GetParentPath ( string path ) : string | ||
path | string | The path. |
Результат | string |
public static IsInTree ( string targetPath, string rootPath ) : bool | ||
targetPath | string | |
rootPath | string | |
Результат | bool |
public static IsInvalidNameChar ( char c ) : bool | ||
c | char | |
Результат | bool |
public static IsInvalidPathChar ( char c ) : bool | ||
c | char | |
Результат | bool |
public static IsValidName ( string name ) : PathResult | ||
name | string | |
Результат | PathResult |
public static IsValidPath ( string path ) : PathResult | ||
path | string | The path. |
Результат | PathResult |
public static NameContainsInvalidChar ( string s ) : bool | ||
s | string | |
Результат | bool |
public static PathContainsInvalidChar ( string s ) : bool | ||
s | string | |
Результат | bool |