Property | Type | Description | |
---|---|---|---|
CONTENTNAMINGSECTIONKEY | string |
Property | Type | Description | |
---|---|---|---|
GetInvalidPathException | |||
GetParentPathSafe | string | ||
IsPathExists | bool | ||
PathExists | bool |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 | |
return | void |
public static CheckValidPath ( string path ) : void | ||
path | string | |
return | void |
public static Combine ( string path1, string path2 ) : string | ||
path1 | string | The path 1. |
path2 | string | The path 2. |
return | string |
public static GetFileName ( string path ) : string | ||
path | string | The path. |
return | string |
public static GetFileNameSafe ( string path ) : string | ||
path | string | The path. |
return | string |
public static GetParentPath ( string path ) : string | ||
path | string | The path. |
return | string |
public static IsInTree ( string targetPath, string rootPath ) : bool | ||
targetPath | string | |
rootPath | string | |
return | bool |
public static IsInvalidNameChar ( char c ) : bool | ||
c | char | |
return | bool |
public static IsInvalidPathChar ( char c ) : bool | ||
c | char | |
return | bool |
public static IsValidName ( string name ) : PathResult | ||
name | string | |
return | PathResult |
public static IsValidPath ( string path ) : PathResult | ||
path | string | The path. |
return | PathResult |
public static NameContainsInvalidChar ( string s ) : bool | ||
s | string | |
return | bool |
public static PathContainsInvalidChar ( string s ) : bool | ||
s | string | |
return | bool |