Class PathFormat
Provides formatting for OS specific and universal path formats.
Namespace: Singulink.IO
Assembly: Singulink.IO.FileSystem.dll
Syntax
public abstract class PathFormat
Properties
| Name | Description |
|---|---|
| Current | Gets the path format for the current platform. |
| RelativeCurrentDirectory | Gets the relative directory that represents the current directory (i.e. |
| RelativeParentDirectory | Gets the relative directory that represents the parent directory (i.e. |
| Separator | Gets the standard path separator character. Alternate path characters are normalized to use the standard path separator. |
| SupportsRelativeRootedPaths | Gets a value indicating whether the path format supports relative rooted paths, i.e. relative paths that start with a path separator. |
| Universal | Gets a universal cross-platform path format that plays nice across all operating systems. Only non-rooted relative paths are supported. |
| Unix | Gets a path format compatible with Unix-based platforms like macOS, iOS, Android and Linux. |
| Windows | Gets a path format compatible with the Windows platform. |
Methods
| Name | Description |
|---|---|
| ToString() | Gets the name of the path format. |