EnumeratePathDirectories() Method

Definition

Namespace CliInvoke
Assembly CliInvoke.dll

Enumerates the directories listed in the PATH environment variable.

protected virtual IEnumerable<string>? EnumeratePathDirectories()

Returns

IEnumerable<String>
An IEnumerable<T> of directory paths, or null when the PATH variable is not set.