C# Class CodeCake.EnvironmentAddedPath

Captures a path that must be added to the PATH environment variable. When IsDynamicPattern is true, the path is expansed and/or gobbled dynamically instead of beeing resolved at the very beginning of the build script execution.
Mostrar archivo Open project: SimpleGitVersion/CodeCake Class Usage Examples

Public Properties

Property Type Description
IsDynamicPattern bool
Path string

Public Methods

Method Description
EnvironmentAddedPath ( string path, bool isDynamic ) : System

Initializes a new EnvironmentAddedPath.

Method Details

EnvironmentAddedPath() public method

Initializes a new EnvironmentAddedPath.
public EnvironmentAddedPath ( string path, bool isDynamic ) : System
path string Path or pattern with * and ? wildcards.
isDynamic bool True if the pattern must be expansed/gobbled dynamically.
return System

Property Details

IsDynamicPattern public_oe property

Whether the path is a dynamic one: it must be challenged each time it is needed instead of being expansed/globbed at the start of the build script (folders and files must pre-exist on the file system).
public bool IsDynamicPattern
return bool

Path public_oe property

The path (may contain * and ? wildcards).
public string Path
return string