Namespaces

Types in Fake

Type EnvironmentHelper

Namespace Fake

Methods

Properties

Public static methods

string appSetting(string name)

Retrieves a ApplicationSettings variable

string environVar(string arg00)

Retrieves the EnvironmentVariable

string environVarOrDefault(string name, string defaultValue)

Retrieves the EnvironmentVariable or a default

FSharpList<Tuple<object, object>> environVars(EnvironmentVariableTarget target)

Retrieves the EnvironmentVariable

string getBuildParam(string name)

Returns the value of the buildParam if it is set and otherwise ""

string getBuildParamOrDefault(string name, string defaultParam)

Returns the value of the buildParam if it is set and otherwise the default

bool hasBuildParam(string name)

Returns true if the buildParam is set and otherwise false

void setEnvironVar(string environVar, string value)

Sets the Environment variable

Public properties

string documentsFolder get;

The path to the personal documents

string ProgramFiles get;

The path of Program Files - might be x64 on x64 machine

string ProgramFilesX86 get;

The path of Program Files (x86)