Provides several functions to assist with file and directory access.
More...
Provides several functions to assist with file and directory access.
static string UnifiedAutomation.UaBase.FilePathUtils.GetAbsoluteDirectoryPath |
( |
string |
dirPath | ) |
|
|
inlinestatic |
Checks if the file path is a relative path and returns an absolute path relative to the EXE location.
- Parameters
-
- Returns
- The resolved directory path.
static string UnifiedAutomation.UaBase.FilePathUtils.GetAbsoluteDirectoryPath |
( |
string |
dirPath, |
|
|
FilePathSettings |
settings |
|
) |
| |
|
inlinestatic |
Checks if the file path is a relative path and returns an absolute path relative to the EXE location.
- Parameters
-
dirPath | The dir path. |
settings | The settings to use. |
- Returns
- The resolved directory path.
static string UnifiedAutomation.UaBase.FilePathUtils.GetAbsoluteFilePath |
( |
string |
filePath | ) |
|
|
inlinestatic |
Checks if the file path is a relative path and returns an absolute path relative to the EXE location.
- Parameters
-
filePath | The path to the file to resolve. |
- Returns
- The resolved file path.
static string UnifiedAutomation.UaBase.FilePathUtils.GetAbsoluteFilePath |
( |
string |
filePath, |
|
|
FilePathSettings |
settings |
|
) |
| |
|
inlinestatic |
Checks if the file path is a relative path and returns an absolute path relative to the EXE location.
- Parameters
-
filePath | The path to the file to resolve. |
settings | The settings to use. |
- Returns
- The resolved file path.
static string UnifiedAutomation.UaBase.FilePathUtils.MakeValidFileName |
( |
string |
name | ) |
|
|
inlinestatic |
Makes the name a valid file name.
- Parameters
-
- Returns
- A string which can be used as a file name
The documentation for this class was generated from the following file:
- D:/work/uasdknet/src/UaBase/FilePathUtils.cs