Represents an operating system path and provides methods for path conversion and manipulation.  
 More...
|  | 
|  | OSPath (string text) | 
|  | Initializes a new instance of the OSPath class with the specified text. 
 | 
|  | 
| override string | ToString () | 
|  | 
| bool | Contains (OSPath path) | 
|  | Determines whether the current path contains the specified path. 
 | 
|  | 
|  | 
| static bool | IsWindows  [get] | 
|  | Gets a value indicating whether the current operating system is Windows. 
 | 
|  | 
| string | Text  [get] | 
|  | Gets the original path text. 
 | 
|  | 
| string | Normalized  [get] | 
|  | Gets the normalized path based on the current operating system. 
 | 
|  | 
| string | Windows  [get] | 
|  | Gets the Windows-style path. 
 | 
|  | 
| string | Unix  [get] | 
|  | Gets the Unix-style path. 
 | 
|  | 
| OSPath | Relative  [get] | 
|  | Gets the path without the root or drive letter. 
 | 
|  | 
| bool | IsAbsolute  [get] | 
|  | Gets a value indicating whether the path is absolute. 
 | 
|  | 
| bool | IsRooted  [get] | 
|  | Gets a value indicating whether the path is rooted. 
 | 
|  | 
| bool | HasVolume  [get] | 
|  | Gets a value indicating whether the path has a drive letter. 
 | 
|  | 
| OSPath | Simplified  [get] | 
|  | Gets the rooted path without the drive letter. 
 | 
|  | 
| OSPath | Parent  [get] | 
|  | Gets the parent directory of the path. 
 | 
|  | 
Represents an operating system path and provides methods for path conversion and manipulation. 
Definition at line 8 of file OSPath.cs.
◆ OSPath()
      
        
          | SAPTeam.EasySign.UnifiedPath.OSPath.OSPath | ( | string | text | ) |  | 
      
 
Initializes a new instance of the OSPath class with the specified text. 
- Parameters
- 
  
  
 
 
◆ Contains()
      
        
          | bool SAPTeam.EasySign.UnifiedPath.OSPath.Contains | ( | OSPath | path | ) |  | 
      
 
Determines whether the current path contains the specified path. 
- Parameters
- 
  
  
- Returns
- trueif the current path contains the specified path; otherwise,- false.
 
 
◆ operator OSPath()
  
  | 
        
          | static implicit SAPTeam.EasySign.UnifiedPath.OSPath.operator OSPath | ( | string | text | ) |  |  | static | 
 
Implicitly converts a string to an OSPath. 
- Parameters
- 
  
  
 
 
◆ operator string()
  
  | 
        
          | static implicit SAPTeam.EasySign.UnifiedPath.OSPath.operator string | ( | OSPath | path | ) |  |  | static | 
 
Implicitly converts an OSPath to a string. 
- Parameters
- 
  
  
 
 
◆ operator+()
Concatenates two paths. 
- Parameters
- 
  
    | left | The left path. |  | right | The right path. |  
 
- Returns
- The concatenated path.
 
 
◆ operator-()
Removes the specified path from the current path. 
- Parameters
- 
  
    | left | The current path. |  | right | The path to remove. |  
 
- Returns
- The resulting path after removal.
 
 
◆ ToString()
      
        
          | override string SAPTeam.EasySign.UnifiedPath.OSPath.ToString | ( |  | ) |  | 
      
 
 
◆ Empty
  
  | 
        
          | readonly OSPath SAPTeam.EasySign.UnifiedPath.OSPath.Empty = "" |  | static | 
 
 
◆ HasVolume
  
  | 
        
          | bool SAPTeam.EasySign.UnifiedPath.OSPath.HasVolume |  | get | 
 
Gets a value indicating whether the path has a drive letter. 
Definition at line 79 of file OSPath.cs.
 
 
◆ IsAbsolute
  
  | 
        
          | bool SAPTeam.EasySign.UnifiedPath.OSPath.IsAbsolute |  | get | 
 
Gets a value indicating whether the path is absolute. 
Definition at line 69 of file OSPath.cs.
 
 
◆ IsRooted
  
  | 
        
          | bool SAPTeam.EasySign.UnifiedPath.OSPath.IsRooted |  | get | 
 
Gets a value indicating whether the path is rooted. 
Definition at line 74 of file OSPath.cs.
 
 
◆ IsWindows
  
  | 
        
          | bool SAPTeam.EasySign.UnifiedPath.OSPath.IsWindows |  | staticget | 
 
Gets a value indicating whether the current operating system is Windows. 
Definition at line 18 of file OSPath.cs.
 
 
◆ Normalized
  
  | 
        
          | string SAPTeam.EasySign.UnifiedPath.OSPath.Normalized |  | get | 
 
Gets the normalized path based on the current operating system. 
Definition at line 49 of file OSPath.cs.
 
 
◆ Parent
  
  | 
        
          | OSPath SAPTeam.EasySign.UnifiedPath.OSPath.Parent |  | get | 
 
Gets the parent directory of the path. 
Definition at line 89 of file OSPath.cs.
 
 
◆ Relative
  
  | 
        
          | OSPath SAPTeam.EasySign.UnifiedPath.OSPath.Relative |  | get | 
 
Gets the path without the root or drive letter. 
Definition at line 64 of file OSPath.cs.
 
 
◆ Simplified
  
  | 
        
          | OSPath SAPTeam.EasySign.UnifiedPath.OSPath.Simplified |  | get | 
 
Gets the rooted path without the drive letter. 
Definition at line 84 of file OSPath.cs.
 
 
◆ Text
  
  | 
        
          | string SAPTeam.EasySign.UnifiedPath.OSPath.Text |  | getprotected | 
 
Gets the original path text. 
Definition at line 44 of file OSPath.cs.
 
 
◆ Unix
  
  | 
        
          | string SAPTeam.EasySign.UnifiedPath.OSPath.Unix |  | get | 
 
Gets the Unix-style path. 
Definition at line 59 of file OSPath.cs.
 
 
◆ Windows
  
  | 
        
          | string SAPTeam.EasySign.UnifiedPath.OSPath.Windows |  | get | 
 
Gets the Windows-style path. 
Definition at line 54 of file OSPath.cs.
 
 
The documentation for this class was generated from the following file: