[Extension()] public static IEnvVarFilePath ToEnvVarFilePath( string pathString )
Parameters
- pathString
 - Represents the path.
 
[Extension()] public static IEnvVarFilePath ToEnvVarFilePath( string pathString )
| Exception | Description | 
|---|---|
| System.ArgumentNullException | pathString is null. | 
| System.ArgumentException | pathString is empty or doesn't represents a valid file path prefixed with an environment variable. | 
Target Platforms: Windows 11, 10, 8, 7and Linux, MacOS with net10.0, net9.0 or net8.0 installed