C# Class NAnt.Core.FrameworkInfo

ファイルを表示 Open project: skolima/NAnt Class Usage Examples

Private Properties

Property Type Description
AssertNotInvalid void
FrameworkInfo System
GetToolPath string
GetXmlAttributeValue string
ISerializable void
Init void
PerformInit void
Validate void

Public Methods

Method Description
ResolveAssembly ( string fileName ) : string

Resolves the specified assembly to a full path by matching it against the reference assemblies.

Whether the file name is matched case-sensitively depends on the operating system.

Protected Methods

Method Description
FrameworkInfo ( SerializationInfo info, StreamingContext context ) : System

Private Methods

Method Description
AssertNotInvalid ( ) : void
FrameworkInfo ( XmlNode frameworkNode, XmlNamespaceManager nsMgr ) : System
GetToolPath ( string tool ) : string

Searches the list of tool paths of the current framework for the given file, and returns the absolute path if found.

The configured tool paths are scanned in the order in which they are defined in the framework configuration.

The file name of the tool to search should include the extension.

GetXmlAttributeValue ( XmlNode xmlNode, string attributeName ) : string

Gets the value of the specified attribute from the specified node.

ISerializable ( SerializationInfo info, StreamingContext context ) : void
Init ( ) : void
PerformInit ( ) : void
Validate ( ) : void

Method Details

FrameworkInfo() protected method

protected FrameworkInfo ( SerializationInfo info, StreamingContext context ) : System
info SerializationInfo
context StreamingContext
return System

ResolveAssembly() public method

Resolves the specified assembly to a full path by matching it against the reference assemblies.
Whether the file name is matched case-sensitively depends on the operating system.
public ResolveAssembly ( string fileName ) : string
fileName string The file name of the assembly to resolve (without path information).
return string