C# Class NAnt.Core.Tasks.SetEnvTask

Inheritance: Task
Mostrar archivo Open project: skolima/NAnt

Private Properties

Property Type Description
IsNullValue bool
NormalizeValue string
SetEnvironmentVariable bool
SetSingleEnvironmentVariable void
setenv int
unsetenv int

Protected Methods

Method Description
ExecuteTask ( ) : void

Set the environment variables

Initialize ( ) : void

Checks whether the task is initialized with valid attributes.

Private Methods

Method Description
IsNullValue ( string value ) : bool
NormalizeValue ( string value ) : string
SetEnvironmentVariable ( string lpName, string lpValue ) : bool
SetSingleEnvironmentVariable ( string name, string value ) : void

Do the actual work here.

setenv ( string name, string value, int overwrite ) : int
unsetenv ( string name ) : int

Method Details

ExecuteTask() protected method

Set the environment variables
protected ExecuteTask ( ) : void
return void

Initialize() protected method

Checks whether the task is initialized with valid attributes.
protected Initialize ( ) : void
return void