C# Class NAnt.VSNet.VcConfigurationBase

A single build configuration for a Visual C++ project or for a specific file in the project.
Inheritance: NAnt.VSNet.ConfigurationBase
Mostra file Open project: skolima/NAnt Class Usage Examples

Protected Properties

Property Type Description
Tools System.Collections.Hashtable

Private Properties

Property Type Description

Public Methods

Method Description
GetToolArguments ( string toolName, NAnt.VSNet.VcArgumentMap argMap ) : Hashtable
GetToolArguments ( string toolName, NAnt.VSNet.VcArgumentMap argMap, NAnt.VSNet.VcArgumentMap ignoreGroup ) : Hashtable
GetToolSetting ( string toolName, string settingName ) : string

Gets the value of a given setting for a specified tool.

An empty setting value, which is used as a means to override the project default, will be returned as a empty string.

GetToolSetting ( string toolName, string settingName, string defaultValue ) : string

Gets the value of a given setting for a specified tool.

An empty setting value, which is used as a means to override the project default, will be returned as a empty string.

Protected Methods

Method Description
ExpandMacro ( string macro ) : string

Expands the given macro.

VcConfigurationBase ( XmlElement elem, ProjectBase parentProject, DirectoryInfo outputDir ) : System
VcConfigurationBase ( string configName, ProjectBase parentProject, DirectoryInfo outputDir ) : System

Method Details

ExpandMacro() protected method

Expands the given macro.
/// The macro is not supported. /// -or- /// The macro is not implemented. /// -or- /// The macro cannot be expanded. ///
protected ExpandMacro ( string macro ) : string
macro string The macro to expand.
return string

GetToolArguments() public method

public GetToolArguments ( string toolName, NAnt.VSNet.VcArgumentMap argMap ) : Hashtable
toolName string
argMap NAnt.VSNet.VcArgumentMap
return System.Collections.Hashtable

GetToolArguments() public abstract method

public abstract GetToolArguments ( string toolName, NAnt.VSNet.VcArgumentMap argMap, NAnt.VSNet.VcArgumentMap ignoreGroup ) : Hashtable
toolName string
argMap NAnt.VSNet.VcArgumentMap
ignoreGroup NAnt.VSNet.VcArgumentMap
return System.Collections.Hashtable

GetToolSetting() public method

Gets the value of a given setting for a specified tool.
An empty setting value, which is used as a means to override the project default, will be returned as a empty string.
public GetToolSetting ( string toolName, string settingName ) : string
toolName string The name of the tool.
settingName string The name of the setting.
return string

GetToolSetting() public abstract method

Gets the value of a given setting for a specified tool.
An empty setting value, which is used as a means to override the project default, will be returned as a empty string.
public abstract GetToolSetting ( string toolName, string settingName, string defaultValue ) : string
toolName string The name of the tool.
settingName string The name of the setting.
defaultValue string The value to return if setting is not defined.
return string

VcConfigurationBase() protected method

protected VcConfigurationBase ( XmlElement elem, ProjectBase parentProject, DirectoryInfo outputDir ) : System
elem System.Xml.XmlElement
parentProject ProjectBase
outputDir System.IO.DirectoryInfo
return System

VcConfigurationBase() protected method

protected VcConfigurationBase ( string configName, ProjectBase parentProject, DirectoryInfo outputDir ) : System
configName string
parentProject ProjectBase
outputDir System.IO.DirectoryInfo
return System

Property Details

Tools protected_oe property

protected Hashtable,System.Collections Tools
return System.Collections.Hashtable