RwxInfo.

GetEnvironmentDirectoryPath(string) Method

Summary

Gets an environment variable as a DirectoryPath.
Namespace
Cake.Common.Build.Rwx
Containing Type
RwxInfo

Syntax

protected DirectoryPath GetEnvironmentDirectoryPath(string variable)

Parameters

Name Type Description
variable string The environment variable name.

Return Value

Type Description
DirectoryPath The environment variable, or null if it is not set.