UA Bundle SDK .NET  2.2.3.276
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Groups Pages
UnifiedAutomation.UaBase.FilePathUtils Class Reference

Provides several functions to assist with file and directory access. More...

Static Public Member Functions

static string MakeValidFileName (string name)
 Makes the name a valid file name. More...
 
static string GetAbsoluteFilePath (string filePath)
 Checks if the file path is a relative path and returns an absolute path relative to the EXE location. More...
 
static string GetAbsoluteFilePath (string filePath, FilePathSettings settings)
 Checks if the file path is a relative path and returns an absolute path relative to the EXE location. More...
 
static string GetAbsoluteDirectoryPath (string dirPath)
 Checks if the file path is a relative path and returns an absolute path relative to the EXE location. More...
 
static string GetAbsoluteDirectoryPath (string dirPath, FilePathSettings settings)
 Checks if the file path is a relative path and returns an absolute path relative to the EXE location. More...
 

Detailed Description

Provides several functions to assist with file and directory access.

Member Function Documentation

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
dirPathThe dir path.
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
dirPathThe dir path.
settingsThe 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
filePathThe 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
filePathThe path to the file to resolve.
settingsThe 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
nameThe name.
Returns
A string which can be used as a file name

The documentation for this class was generated from the following file: