[Extension()] public static bool TryGetEnvVarFilePath( string pathString, out IEnvVarFilePath envVarFilePath, out string failureReason )
Parameters
- pathString
- Represents the path.
- envVarFilePath
- If this method returns true, this is the returned path object.
- failureReason
- If this method returns false, this is the plain english description of the failure.
Return Value
true if pathString is a valid file path prefixed with an environment variable and as a consequence, the returned envVarFilePath is not null.