FakeEnvironment.

GetEnvironmentVariable(string) Method

Summary

Gets an environment variable.
Namespace
Cake.Testing
Containing Type
FakeEnvironment

Syntax

public string GetEnvironmentVariable(string variable)

Parameters

Name Type Description
variable string The variable.

Return Value

Type Description
string The value of the environment variable.