Method ParseAbsolute
ParseAbsolute(ReadOnlySpan<char>, PathOptions)
Parses an absolute file path using the specified options and the current platform's format.
Declaration
public static IAbsoluteFilePath ParseAbsolute(ReadOnlySpan<char> path, PathOptions options = PathOptions.NoUnfriendlyNames)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<char> | path | An absolute file path. |
PathOptions | options | Specifies the path parsing options. |
Returns
Type | Description |
---|---|
IAbsoluteFilePath |
ParseAbsolute(ReadOnlySpan<char>, PathFormat, PathOptions)
Parses an absolute file path using the specified format and options.
Declaration
public static IAbsoluteFilePath ParseAbsolute(ReadOnlySpan<char> path, PathFormat format, PathOptions options = PathOptions.NoUnfriendlyNames)
Parameters
Type | Name | Description |
---|---|---|
ReadOnlySpan<char> | path | An absolute file path. |
PathFormat | format | The path's format. |
PathOptions | options | Specifies the path parsing options. |
Returns
Type | Description |
---|---|
IAbsoluteFilePath |