Метод | Описание | |
---|---|---|
GetFullPath ( string path ) : string | ||
GetPathType ( string path ) : PathType | ||
IsValidPath ( string path, string extension ) : bool | ||
ReadFile ( string path ) : string | ||
SanitizePath ( string path, string extension = null ) : string | ||
SaveFile ( string path, string contents ) : bool |
public static GetFullPath ( string path ) : string | ||
path | string | |
Результат | string |
public static GetPathType ( string path ) : PathType | ||
path | string | |
Результат | PathType |
public static IsValidPath ( string path, string extension ) : bool | ||
path | string | |
extension | string | |
Результат | bool |
public static ReadFile ( string path ) : string | ||
path | string | |
Результат | string |
public static SanitizePath ( string path, string extension = null ) : string | ||
path | string | |
extension | string | |
Результат | string |
public static SaveFile ( string path, string contents ) : bool | ||
path | string | |
contents | string | |
Результат | bool |