update nant

This commit is contained in:
markpollack
2010-09-21 17:50:29 +00:00
parent 6f43fd3e5f
commit abc23e2615
209 changed files with 9800 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>NAnt.MSBuild</name>
</assembly>
<members>
<member name="T:NAnt.MSBuild.Functions.MSBuildFunctions">
<summary>
Functions to return information for MSBuild system.
</summary>
</member>
<member name="M:NAnt.MSBuild.Functions.MSBuildFunctions.#ctor(NAnt.Core.Project,NAnt.Core.PropertyDictionary)">
<exclude/>
</member>
<member name="M:NAnt.MSBuild.Functions.MSBuildFunctions.IsMsbuildProject(System.String)">
<summary>
Test whether project is VS2005 project and could be built using &lt;msbuild&gt;
</summary>
<param name="project">The name or path of the project file (csproj, vbproj, ...).</param>
<returns>
True, if it is msbuild project, False otherwise.
</returns>
</member>
<member name="M:NAnt.MSBuild.NAntLogger.Initialize(Microsoft.Build.Framework.IEventSource)">
<summary>
Initialize is guaranteed to be called by MSBuild at the start of the build
before any events are raised.
</summary>
</member>
<member name="T:NAnt.VSNet.WhidbeySolution">
<summary>
Analyses Microsoft Visual Studio .NET 2005 (Whidbey) solution files.
</summary>
</member>
</members>
</doc>

View File

@@ -0,0 +1,75 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting T:NAnt.Compression.Tasks.ExpandBaseTask-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>ExpandBaseTask Element</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<span>Element Reference</span>
<img alt="-&gt;" src="../images/arrow.gif" /> ExpandBaseTask</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>ExpandBaseTask</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Summary description for ExpandTask. </p>
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Attribute</th>
<th style="text-align: center;">Type</th>
<th>Description</th>
<th style="text-align: center;">Required</th>
</tr>
<tr>
<td valign="top">overwrite</td>
<td style="text-align: center;">bool</td>
<td> Overwrite files, even if they are newer than the corresponding entries in the archive. The default is <b>true</b>. </td>
<td style="text-align: center;">False</td>
</tr>
<tr>
<td valign="top">failonerror</td>
<td style="text-align: center;">bool</td>
<td> Determines if task failure stops the build, or is just reported. The default is <b>true</b>. </td>
<td style="text-align: center;">False</td>
</tr>
<tr>
<td valign="top">if</td>
<td style="text-align: center;">bool</td>
<td> If <b>true</b> then the task will be executed; otherwise, skipped. The default is <b>true</b>. </td>
<td style="text-align: center;">False</td>
</tr>
<tr>
<td valign="top">unless</td>
<td style="text-align: center;">bool</td>
<td> Opposite of <code>if</code>. If <b>false</b> then the task will be executed; otherwise, skipped. The default is <b>false</b>. </td>
<td style="text-align: center;">False</td>
</tr>
<tr>
<td valign="top">verbose</td>
<td style="text-align: center;">bool</td>
<td> Determines whether the task should report detailed build log messages. The default is <b>false</b>. </td>
<td style="text-align: center;">False</td>
</tr>
</table>
</div>
<h3>Requirements</h3>
<div style="margin-left: 20px;">
<b>Assembly:</b> NAnt.CompressionTasks (0.91.3881.0)
</div>
</body>
</html>

View File

@@ -0,0 +1,64 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting T:NAnt.Core.Types.Pattern-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>Pattern Element</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<span>Element Reference</span>
<img alt="-&gt;" src="../images/arrow.gif" /> Pattern</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>Pattern</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p>
</p>
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Attribute</th>
<th style="text-align: center;">Type</th>
<th>Description</th>
<th style="text-align: center;">Required</th>
</tr>
<tr>
<td valign="top" class="required">name</td>
<td style="text-align: center;">string</td>
<td> The name pattern to include/exclude. </td>
<td style="text-align: center;">True</td>
</tr>
<tr>
<td valign="top">if</td>
<td style="text-align: center;">bool</td>
<td> If <b>true</b> then the pattern will be used; otherwise, skipped. The default is <b>true</b>. </td>
<td style="text-align: center;">False</td>
</tr>
<tr>
<td valign="top">unless</td>
<td style="text-align: center;">bool</td>
<td> If <b>false</b> then the pattern will be used; otherwise, skipped. The default is <b>false</b>. </td>
<td style="text-align: center;">False</td>
</tr>
</table>
</div>
<h3>Requirements</h3>
<div style="margin-left: 20px;">
<b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div>
</body>
</html>

View File

@@ -0,0 +1,57 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting T:NAnt.DotNet.Types.Module-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>Module Element</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<span>Element Reference</span>
<img alt="-&gt;" src="../images/arrow.gif" /> Module</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>Module</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Represents a metadata file without assembly manifest. </p>
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Attribute</th>
<th style="text-align: center;">Type</th>
<th>Description</th>
<th style="text-align: center;">Required</th>
</tr>
<tr>
<td valign="top" class="required">file</td>
<td style="text-align: center;">string</td>
<td> The path of the module. </td>
<td style="text-align: center;">True</td>
</tr>
<tr>
<td valign="top">target</td>
<td style="text-align: center;">string</td>
<td> File name where the module should be copied to before it is compiled into an assembly. </td>
<td style="text-align: center;">False</td>
</tr>
</table>
</div>
<h3>Requirements</h3>
<div style="margin-left: 20px;">
<b>Assembly:</b> NAnt.DotNetTasks (0.91.3881.0)
</div>
</body>
</html>

View File

@@ -0,0 +1,55 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting T:NAnt.Compression.Types.TarCompressionMethod-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>TarCompressionMethod enum</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<span>Enum Reference</span>
<img alt="-&gt;" src="../images/arrow.gif" /> TarCompressionMethod</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>TarCompressionMethod</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Specifies the compression methods supported by <a href="../tasks/tar.html">&lt;tar&gt;</a> task and <a href="../tasks/untar.html">&lt;untar&gt;</a> task. </p>
<h3>Fields</h3>
<div class="table">
<table>
<tr>
<th>Field</th>
<th>Description</th>
</tr>
<tr>
<td valign="top">BZip2</td>
<td> BZIP2 compression. </td>
</tr>
<tr>
<td valign="top">GZip</td>
<td> GZIP compression. </td>
</tr>
<tr>
<td valign="top">None</td>
<td> No compression. </td>
</tr>
</table>
</div>
<h3>Requirements</h3>
<div style="margin-left: 20px;">
<b>Assembly:</b> NAnt.CompressionTasks (0.91.3881.0)
</div>
</body>
</html>

View File

@@ -0,0 +1,75 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting T:NAnt.Core.FrameworkTypes-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>FrameworkTypes enum</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<span>Enum Reference</span>
<img alt="-&gt;" src="../images/arrow.gif" /> FrameworkTypes</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>FrameworkTypes</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Defines the types of frameworks. </p>
<h3>Fields</h3>
<div class="table">
<table>
<tr>
<th>Field</th>
<th>Description</th>
</tr>
<tr>
<td valign="top">All</td>
<td> All frameworks supported on the current platform, regarless of their installation state, target device or vendor. </td>
</tr>
<tr>
<td valign="top">Browser</td>
<td> Frameworks that run in a browser. </td>
</tr>
<tr>
<td valign="top">Compact</td>
<td> Frameworks that target compact devices. </td>
</tr>
<tr>
<td valign="top">Desktop</td>
<td> Frameworks that typically target full desktop devices. </td>
</tr>
<tr>
<td valign="top">Installed</td>
<td> Frameworks that are installed on the current system. </td>
</tr>
<tr>
<td valign="top">Mono</td>
<td> Frameworks released as part of the open-source <a href="http://www.mono-project.com">Mono</a> project. </td>
</tr>
<tr>
<td valign="top">MS</td>
<td> Frameworks released by Microsoft. </td>
</tr>
<tr>
<td valign="top">NotInstalled</td>
<td> Frameworks that are supported on the current platform, but are not installed. </td>
</tr>
</table>
</div>
<h3>Requirements</h3>
<div style="margin-left: 20px;">
<b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div>
</body>
</html>

View File

@@ -0,0 +1,78 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting T:NAnt.Core.Types.ManagedExecution-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>ManagedExecution enum</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<span>Enum Reference</span>
<img alt="-&gt;" src="../images/arrow.gif" /> ManagedExecution</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>ManagedExecution</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Specifies the execution mode for managed applications. </p>
<p> For backward compatibility, the following string values can also be used in build files: </p>
<div class="table">
<table>
<tr>
<th>Value</th>
<th>Corresponding field</th>
</tr>
<tr>
<td>"true"</td>
<td>
<code>Auto</code>
</td>
</tr>
<tr>
<td>"false"</td>
<td>
<code>Default</code>
</td>
</tr>
</table>
</div>
<p> Even if set to <code>Default</code>, the operating system can still run the program as a managed application. </p>
<p>On Linux this can be done through <b xmlns="">binfmt_misc</b>, while on Windows installing the .NET Framework redistributable caused managed applications to run on the MS CLR by default. </p>
<h3>Fields</h3>
<div class="table">
<table>
<tr>
<th>Field</th>
<th>Description</th>
</tr>
<tr>
<td valign="top">Auto</td>
<td> Leave it up to the CLR to determine which specific version of the CLR will be used to run the application. </td>
</tr>
<tr>
<td valign="top">Default</td>
<td> Do not threat the program as a managed application. </td>
</tr>
<tr>
<td valign="top">Strict</td>
<td> Forces an application to run against the currently targeted version of a given CLR. </td>
</tr>
</table>
</div>
<h3>Requirements</h3>
<div style="margin-left: 20px;">
<b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div>
</body>
</html>

View File

@@ -0,0 +1,76 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting T:NAnt.DotNet.Types.DelaySign-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>DelaySign enum</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<span>Enum Reference</span>
<img alt="-&gt;" src="../images/arrow.gif" /> DelaySign</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>DelaySign</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Specifies whether the generated assembly is strongly named and will be signed later. </p>
<p> For backward compatibility, the following string values can also be used in build files: </p>
<div class="table">
<table>
<tr>
<th>Value</th>
<th>Corresponding field</th>
</tr>
<tr>
<td>"true"</td>
<td>
<code>Yes</code>
</td>
</tr>
<tr>
<td>"false"</td>
<td>
<code>No</code>
</td>
</tr>
</table>
</div>
<h3>Fields</h3>
<div class="table">
<table>
<tr>
<th>Field</th>
<th>Description</th>
</tr>
<tr>
<td valign="top">No</td>
<td> Fully sign the assembly. </td>
</tr>
<tr>
<td valign="top">NotSet</td>
<td> Not specified. </td>
</tr>
<tr>
<td valign="top">Yes</td>
<td> Only place the public key in the assembly, allowing the signature to be added later. </td>
</tr>
</table>
</div>
<h3>Requirements</h3>
<div style="margin-left: 20px;">
<b>Assembly:</b> NAnt.DotNetTasks (0.91.3881.0)
</div>
</body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetFullName-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>assembly::get-full-name Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> assembly::get-full-name</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>assembly::get-full-name</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the full name of the assembly, also known as the display name. </p>
<h3>Usage</h3>
<code>string assembly::get-full-name(<span class="parameter">assembly</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>assembly</td>
<td>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyClassTopic.asp">Assembly</a>
</td>
<td>The assembly to get the full name for.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The full name of the assembly, also known as the display name. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetLocation-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>assembly::get-location Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> assembly::get-location</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>assembly::get-location</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the physical location, in codebase format, of the loaded file that contains the manifest. </p>
<h3>Usage</h3>
<code>string assembly::get-location(<span class="parameter">assembly</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>assembly</td>
<td>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyClassTopic.asp">Assembly</a>
</td>
<td>The assembly to get the location for.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The location of the specified assembly. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetName-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>assembly::get-name Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> assembly::get-name</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>assembly::get-name</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets an <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a> for the specified assembly. </p>
<h3>Usage</h3>
<code>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a> assembly::get-name(<span class="parameter">assembly</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>assembly</td>
<td>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyClassTopic.asp">Assembly</a>
</td>
<td>The assembly to get an <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a> for.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> An <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a> for the specified assembly. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div><h3>See Also</h3><a href="../functions/index.html#Assembly">Assembly</a> Functions</body>
</html>

View File

@@ -0,0 +1,56 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting Load-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>assembly::load Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> assembly::load</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>assembly::load</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Loads an assembly given the long form of its name. </p>
<h3>Usage</h3>
<code>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyClassTopic.asp">Assembly</a> assembly::load(<span class="parameter">assemblyString</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>assemblyString</td>
<td>string</td>
<td>The long form of the assembly name.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The loaded assembly. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><i>assemblyString</i> is a a null reference (<b>Nothing</b> in Visual Basic).</li><li><i>assemblyString</i> is not found.</li></ul></div><h3>Examples</h3><ul class="examples"><li><p> Determine the location of the Microsoft Access 11 Primary Interop Assembly by loading it using its fully qualified name, and copy it to the build directory. </p><pre class="code">
&lt;property name="access.pia.path" value="${assembly::get-location(assembly::load('Microsoft.Office.Interop.Access, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'))}" /&gt;
&lt;copy file="${access.pia.path}" todir="${build.dir}" /&gt;
</pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting LoadFromFile-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>assembly::load-from-file Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> assembly::load-from-file</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>assembly::load-from-file</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Loads an assembly given its file name or path. </p>
<h3>Usage</h3>
<code>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyClassTopic.asp">Assembly</a> assembly::load-from-file(<span class="parameter">assemblyFile</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>assemblyFile</td>
<td>string</td>
<td>The name or path of the file that contains the manifest of the assembly.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The loaded assembly. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><i>assemblyFile</i> is an empty <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemStringClassTopic.asp">String</a>.</li><li><i>assemblyFile</i> is not found, or the module you are trying to load does not specify a filename extension.</li><li><i>assemblyFile</i> is not a valid assembly.</li><li>An assembly or module was loaded twice with two different evidences, or the assembly name is longer than MAX_PATH characters.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,55 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetAssemblyName-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>assemblyname::get-assembly-name Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> assemblyname::get-assembly-name</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>assemblyname::get-assembly-name</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a> for a given file. </p>
<h3>Usage</h3>
<code>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a> assemblyname::get-assembly-name(<span class="parameter">assemblyFile</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>assemblyFile</td>
<td>string</td>
<td>The assembly file for which to get the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a>.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> An <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a> object representing the given file. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><i>assemblyFile</i> is an empty <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemStringClassTopic.asp">String</a>.</li><li><i>assemblyFile</i> does not exist.</li><li><i>assemblyFile</i> is not a valid assembly.</li></ul></div><h3>Remarks</h3> The assembly is not added to this domain. <h3>Examples</h3><ul class="examples"><li><p> Output the full name of the <code>nunit.framework</code> assembly to the build log. </p><pre class="code">
&lt;echo message="${assemblyname::get-full-name(assemblyname::get-assembly-name('nunit.framework.dll'))}" /&gt;
</pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetCodeBase-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>assemblyname::get-codebase Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> assemblyname::get-codebase</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>assemblyname::get-codebase</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the location of the assembly as a URL. </p>
<h3>Usage</h3>
<code>string assemblyname::get-codebase(<span class="parameter">assemblyName</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>assemblyName</td>
<td>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a>
</td>
<td>The <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a> of the assembly.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The location of the assembly as a URL. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div><h3>See Also</h3><a href="../functions/assembly.get-name(System.Reflection.Assembly).html">assembly::get-name()</a></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetEscapedCodeBase-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>assemblyname::get-escaped-codebase Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> assemblyname::get-escaped-codebase</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>assemblyname::get-escaped-codebase</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the URI, including escape characters, that represents the codebase. </p>
<h3>Usage</h3>
<code>string assemblyname::get-escaped-codebase(<span class="parameter">assemblyName</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>assemblyName</td>
<td>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a>
</td>
<td>The <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a> of the assembly.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The URI, including escape characters, that represents the codebase. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div><h3>See Also</h3><a href="../functions/assembly.get-name(System.Reflection.Assembly).html">assembly::get-name()</a></body>
</html>

View File

@@ -0,0 +1,54 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetFullName-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>assemblyname::get-full-name Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> assemblyname::get-full-name</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>assemblyname::get-full-name</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the full name of the assembly, also known as the display name. </p>
<h3>Usage</h3>
<code>string assemblyname::get-full-name(<span class="parameter">assemblyName</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>assemblyName</td>
<td>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a>
</td>
<td>The <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a> of the assembly.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The full name of the assembly, also known as the display name. <h3>Examples</h3><ul class="examples"><li><p> Output the full name of the <code>nunit.framework</code> assembly to the build log. </p><pre class="code">
&lt;echo message="${assemblyname::get-full-name(assemblyname::get-assembly-name('nunit.framework.dll'))}" /&gt;
</pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div><h3>See Also</h3><a href="../functions/assembly.get-name(System.Reflection.Assembly).html">assembly::get-name()</a></body>
</html>

View File

@@ -0,0 +1,54 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetName-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>assemblyname::get-name Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> assemblyname::get-name</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>assemblyname::get-name</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the simple, unencrypted name of the assembly. </p>
<h3>Usage</h3>
<code>string assemblyname::get-name(<span class="parameter">assemblyName</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>assemblyName</td>
<td>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a>
</td>
<td>The <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a> of the assembly.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The simple, unencrypted name of the assembly. <h3>Examples</h3><ul class="examples"><li><p> Output the simple name of the <code>nunit.framework</code> assembly to the build log. </p><pre class="code">
&lt;echo message="${assemblyname::get-name(assemblyname::get-assembly-name('nunit.framework.dll'))}" /&gt;
</pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div><h3>See Also</h3><a href="../functions/assembly.get-name(System.Reflection.Assembly).html">assembly::get-name()</a></body>
</html>

View File

@@ -0,0 +1,55 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetVersion-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>assemblyname::get-version Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> assemblyname::get-version</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>assemblyname::get-version</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the version of the assembly. </p>
<h3>Usage</h3>
<code>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemVersionClassTopic.asp">Version</a> assemblyname::get-version(<span class="parameter">assemblyName</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>assemblyName</td>
<td>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a>
</td>
<td>The <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyNameClassTopic.asp">AssemblyName</a> of the assembly.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The version of the assembly. <h3>Examples</h3><ul class="examples"><li><p> Output the major version of the <code>nunit.framework</code> assembly to the build log. </p><pre class="code">
&lt;echo message="${version::get-major-version(assemblyname::get-version(assemblyname::get-assembly-name('nunit.framework.dll')))}" /&gt;
</pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div><h3>See Also</h3><a href="../functions/assembly.get-name(System.Reflection.Assembly).html">assembly::get-name()</a> | <a href="../functions/index.html#Version">Version</a> Functions</body>
</html>

View File

@@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting Parse-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>bool::parse Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> bool::parse</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>bool::parse</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Converts the specified string representation of a logical value to its <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemBooleanClassTopic.asp">Boolean</a> equivalent. </p>
<h3>Usage</h3>
<code>bool bool::parse(<span class="parameter">s</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>s</td>
<td>string</td>
<td>A string containing the value to convert.</td>
</tr>
</table>
</div>
<h3>Return Value</h3>
<b>true</b> if <i>s</i> is equivalent to "True"; otherwise, <b>false</b>. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><i>s</i> is not equivalent to <code>TrueString</code> or <code>FalseString</code>.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting ToString-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>bool::to-string Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> bool::to-string</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>bool::to-string</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Converts the specified <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemBooleanClassTopic.asp">Boolean</a> to its equivalent string representation. </p>
<h3>Usage</h3>
<code>string bool::to-string(<span class="parameter">value</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>value</td>
<td>bool</td>
<td>A <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemBooleanClassTopic.asp">Boolean</a> to convert.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> "True" if <i>value</i> is <b>true</b>, or "False" if <i>value</i> is <b>false</b>. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,54 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting ToBoolean-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>convert::to-boolean Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> convert::to-boolean</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>convert::to-boolean</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p>
<i>(Deprecated)</i>
</p>
<p> Converts the argument to a boolean </p>
<h3>Usage</h3>
<code>bool convert::to-boolean(<span class="parameter">value</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>value</td>
<td>bool</td>
<td>The string value to be converted to boolean. Must be 'true' or 'false'.</td>
</tr>
</table>
</div>
<h3>Return Value</h3>
<i>value</i> converted to boolean. The function fails with an exception when the conversion is not possible. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,54 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting ToDateTime-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>convert::to-datetime Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> convert::to-datetime</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>convert::to-datetime</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p>
<i>(Deprecated)</i>
</p>
<p> Converts the argument to a datetime. </p>
<h3>Usage</h3>
<code>datetime convert::to-datetime(<span class="parameter">value</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>value</td>
<td>datetime</td>
<td>value to be converted</td>
</tr>
</table>
</div>
<h3>Return Value</h3>
<i>value</i> converted to datetime. The function fails with an exception when the conversion is not possible.<h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,54 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting ToDouble-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>convert::to-double Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> convert::to-double</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>convert::to-double</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p>
<i>(Deprecated)</i>
</p>
<p> Converts the argument to double </p>
<h3>Usage</h3>
<code>double convert::to-double(<span class="parameter">value</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>value</td>
<td>double</td>
<td>The value to be converted.</td>
</tr>
</table>
</div>
<h3>Return Value</h3>
<i>value</i> converted to double. The function fails with an exception when the conversion is not possible.<h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,54 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting ToInt-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>convert::to-int Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> convert::to-int</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>convert::to-int</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p>
<i>(Deprecated)</i>
</p>
<p> Converts the argument to an integer. </p>
<h3>Usage</h3>
<code>int convert::to-int(<span class="parameter">value</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>value</td>
<td>int</td>
<td>value to be converted</td>
</tr>
</table>
</div>
<h3>Return Value</h3>
<i>value</i> converted to integer. The function fails with an exception when the conversion is not possible.<h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,54 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting ConvertToString-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>convert::to-string Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> convert::to-string</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>convert::to-string</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p>
<i>(Deprecated)</i>
</p>
<p> Converts the argument to a string. </p>
<h3>Usage</h3>
<code>string convert::to-string(<span class="parameter">value</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>value</td>
<td>string</td>
<td>The value to be converted.</td>
</tr>
</table>
</div>
<h3>Return Value</h3>
<i>value</i> converted to string. The function fails with an exception when the conversion is not possible. <h3>Remarks</h3> Named method ConvertToString as a static ToString method would break CLS compliance. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetDosPath-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>cygpath::get-dos-path Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> cygpath::get-dos-path</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>cygpath::get-dos-path</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the DOS (short) form of the specified path. </p>
<h3>Usage</h3>
<code>string cygpath::get-dos-path(<span class="parameter">path</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>path</td>
<td>string</td>
<td>The path to convert.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The DOS (short) form of the specified path. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><code>cygpath</code> could not be started.</li><li><i>path</i> could not be converted to a short form.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Win32Tasks (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetUnixPath-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>cygpath::get-unix-path Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> cygpath::get-unix-path</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>cygpath::get-unix-path</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the Unix form of the specified path. </p>
<h3>Usage</h3>
<code>string cygpath::get-unix-path(<span class="parameter">path</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>path</td>
<td>string</td>
<td>The path to convert.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The Unix form of the specified path. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><code>cygpath</code> could not be started.</li><li><i>path</i> could not be converted to a Unix form.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Win32Tasks (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetWindowsPath-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>cygpath::get-windows-path Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> cygpath::get-windows-path</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>cygpath::get-windows-path</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the Windows form of the specified path. </p>
<h3>Usage</h3>
<code>string cygpath::get-windows-path(<span class="parameter">path</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>path</td>
<td>string</td>
<td>The path to convert.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The Windows form of the specified path. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><code>cygpath</code> could not be started.</li><li><i>path</i> could not be converted to a Windows form.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Win32Tasks (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetDay-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>datetime::get-day Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> datetime::get-day</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>datetime::get-day</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the day of the month represented by the specified date. </p>
<h3>Usage</h3>
<code>int datetime::get-day(<span class="parameter">date</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>date</td>
<td>datetime</td>
<td>The date of which to get the day of the month.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The day value, between 1 and 31. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetDayOfWeek-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>datetime::get-day-of-week Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> datetime::get-day-of-week</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>datetime::get-day-of-week</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the day of the week represented by the specified date. </p>
<h3>Usage</h3>
<code>int datetime::get-day-of-week(<span class="parameter">date</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>date</td>
<td>datetime</td>
<td>The date of which to get the day of the week.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The day of the week, ranging from zero, indicating Sunday, to six, indicating Saturday. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetDayOfYear-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>datetime::get-day-of-year Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> datetime::get-day-of-year</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>datetime::get-day-of-year</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the day of the year represented by the specified date. </p>
<h3>Usage</h3>
<code>int datetime::get-day-of-year(<span class="parameter">date</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>date</td>
<td>datetime</td>
<td>The date of which to get the day of the year.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The day of the year, between 1 and 366. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,57 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetDaysInMonth-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>datetime::get-days-in-month Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> datetime::get-days-in-month</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>datetime::get-days-in-month</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Returns the number of days in the specified month of the specified year. </p>
<h3>Usage</h3>
<code>int datetime::get-days-in-month(<span class="parameter">year</span>, <span class="parameter">month</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>year</td>
<td>int</td>
<td>The year.</td>
</tr>
<tr>
<td>month</td>
<td>int</td>
<td>The month (a number ranging from 1 to 12).</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The number of days in <i>month</i> for the specified <i>year</i>. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><i>month</i> is less than 1 or greater than 12.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetHour-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>datetime::get-hour Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> datetime::get-hour</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>datetime::get-hour</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the hour component of the specified date. </p>
<h3>Usage</h3>
<code>int datetime::get-hour(<span class="parameter">date</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>date</td>
<td>datetime</td>
<td>The date of which to get the hour component.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The hour, between 0 and 23. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetMillisecond-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>datetime::get-millisecond Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> datetime::get-millisecond</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>datetime::get-millisecond</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the milliseconds component of the specified date. </p>
<h3>Usage</h3>
<code>int datetime::get-millisecond(<span class="parameter">date</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>date</td>
<td>datetime</td>
<td>The date of which to get the milliseconds component.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The millisecond, between 0 and 999. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetMinute-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>datetime::get-minute Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> datetime::get-minute</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>datetime::get-minute</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the minute component of the specified date. </p>
<h3>Usage</h3>
<code>int datetime::get-minute(<span class="parameter">date</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>date</td>
<td>datetime</td>
<td>The date of which to get the minute component.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The minute, between 0 and 59. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetMonth-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>datetime::get-month Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> datetime::get-month</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>datetime::get-month</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the month component of the specified date. </p>
<h3>Usage</h3>
<code>int datetime::get-month(<span class="parameter">date</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>date</td>
<td>datetime</td>
<td>The date of which to get the month component.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The month, between 1 and 12. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetSecond-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>datetime::get-second Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> datetime::get-second</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>datetime::get-second</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the seconds component of the specified date. </p>
<h3>Usage</h3>
<code>int datetime::get-second(<span class="parameter">date</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>date</td>
<td>datetime</td>
<td>The date of which to get the seconds component.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The seconds, between 0 and 59. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetTicks-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>datetime::get-ticks Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> datetime::get-ticks</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>datetime::get-ticks</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the number of ticks that represent the specified date. </p>
<h3>Usage</h3>
<code>long datetime::get-ticks(<span class="parameter">date</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>date</td>
<td>datetime</td>
<td>The date of which to get the number of ticks.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The number of ticks that represent the date and time of the specified date. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetYear-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>datetime::get-year Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> datetime::get-year</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>datetime::get-year</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the year component of the specified date. </p>
<h3>Usage</h3>
<code>int datetime::get-year(<span class="parameter">date</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>date</td>
<td>datetime</td>
<td>The date of which to get the year component.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The year, between 1 and 9999. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,51 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting IsLeapYear-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>datetime::is-leap-year Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> datetime::is-leap-year</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>datetime::is-leap-year</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Returns an indication whether the specified year is a leap year. </p>
<h3>Usage</h3>
<code>bool datetime::is-leap-year(<span class="parameter">year</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>year</td>
<td>int</td>
<td>A 4-digit year.</td>
</tr>
</table>
</div>
<h3>Return Value</h3>
<b>true</b> if <i>year</i> is a leap year; otherwise, <b>false</b>. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting Now-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>datetime::now Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> datetime::now</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>datetime::now</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets a <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDateTimeClassTopic.asp">DateTime</a> that is the current local date and time on this computer. </p>
<h3>Usage</h3>
<code>datetime datetime::now()
</code>
<p />
<h3>Return Value</h3> A <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDateTimeClassTopic.asp">DateTime</a> whose value is the current date and time. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting Parse-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>datetime::parse Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> datetime::parse</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>datetime::parse</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Converts the specified string representation of a date and time to its <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDateTimeClassTopic.asp">DateTime</a> equivalent. </p>
<h3>Usage</h3>
<code>datetime datetime::parse(<span class="parameter">s</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>s</td>
<td>string</td>
<td>A string containing a date and time to convert.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> A <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDateTimeClassTopic.asp">DateTime</a> equivalent to the date and time contained in <i>s</i>. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><i>s</i> does not contain a valid string representation of a date and time.</li></ul></div><h3>Remarks</h3> The <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationDateTimeFormatInfoClassTopic.asp">DateTimeFormatInfo</a> for the invariant culture is used to supply formatting information about <i>s</i>. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting ToString-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>datetime::to-string Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> datetime::to-string</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>datetime::to-string</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Converts the specified <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDateTimeClassTopic.asp">DateTime</a> to its equivalent string representation. </p>
<h3>Usage</h3>
<code>string datetime::to-string(<span class="parameter">value</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>value</td>
<td>datetime</td>
<td>A <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDateTimeClassTopic.asp">DateTime</a> to convert.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> A string representation of <i>value</i> formatted using the general format specifier ("G"). <h3>Remarks</h3><i>value</i> is formatted with the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationDateTimeFormatInfoClassTopic.asp">DateTimeFormatInfo</a> for the invariant culture. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting Exists-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>directory::exists Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> directory::exists</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>directory::exists</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Determines whether the given path refers to an existing directory on disk. </p>
<h3>Usage</h3>
<code>bool directory::exists(<span class="parameter">path</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>path</td>
<td>string</td>
<td>The path to test.</td>
</tr>
</table>
</div>
<h3>Return Value</h3>
<b>true</b> if <i>path</i> refers to an existing directory; otherwise, <b>false</b>. <h3>Examples</h3><ul class="examples"><li><p>Remove directory "test", if it exists.</p><pre class="code">
&lt;delete dir="test" if="${directory::exists('test')}" /&gt;
</pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetCreationTime-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>directory::get-creation-time Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> directory::get-creation-time</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>directory::get-creation-time</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Returns the creation date and time of the specified directory. </p>
<h3>Usage</h3>
<code>datetime directory::get-creation-time(<span class="parameter">path</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>path</td>
<td>string</td>
<td>The directory for which to obtain creation date and time information.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The creation date and time of the specified directory. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li>The specified directory does not exist.</li><li><i>path</i> is a zero-length string, contains only white space, or contains one or more invalid characters.</li><li>The specified path, file name, or both exceed the system-defined maximum length.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetCurrentDirectory-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>directory::get-current-directory Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> directory::get-current-directory</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>directory::get-current-directory</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the current working directory. </p>
<h3>Usage</h3>
<code>string directory::get-current-directory()
</code>
<p />
<h3>Return Value</h3> A <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemStringClassTopic.asp">String</a> containing the path of the current working directory. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetDirectoryRoot-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>directory::get-directory-root Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> directory::get-directory-root</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>directory::get-directory-root</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Returns the volume information, root information, or both for the specified path. </p>
<h3>Usage</h3>
<code>string directory::get-directory-root(<span class="parameter">path</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>path</td>
<td>string</td>
<td>The path for which to retrieve the parent directory.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> A string containing the volume information, root information, or both for the specified path. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><i>path</i> is a zero-length string, contains only white space, or contains one or more invalid characters.</li><li>The specified path, file name, or both exceed the system-defined maximum length.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetLastAccessTime-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>directory::get-last-access-time Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> directory::get-last-access-time</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>directory::get-last-access-time</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Returns the date and time the specified directory was last accessed. </p>
<h3>Usage</h3>
<code>datetime directory::get-last-access-time(<span class="parameter">path</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>path</td>
<td>string</td>
<td>The directory for which to obtain access date and time information.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The date and time the specified directory was last accessed. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li>The specified directory does not exist.</li><li><i>path</i> is a zero-length string, contains only white space, or contains one or more invalid characters.</li><li>The specified path, file name, or both exceed the system-defined maximum length.</li><li>The <i>path</i> parameter is in an invalid format.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetLastWriteTime-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>directory::get-last-write-time Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> directory::get-last-write-time</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>directory::get-last-write-time</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Returns the date and time the specified directory was last written to. </p>
<h3>Usage</h3>
<code>datetime directory::get-last-write-time(<span class="parameter">path</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>path</td>
<td>string</td>
<td>The directory for which to obtain write date and time information.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The date and time the specified directory was last written to. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li>The specified directory does not exist.</li><li><i>path</i> is a zero-length string, contains only white space, or contains one or more invalid characters.</li><li>The specified path, file name, or both exceed the system-defined maximum length.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,56 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetParentDirectory-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>directory::get-parent-directory Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> directory::get-parent-directory</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>directory::get-parent-directory</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Retrieves the parent directory of the specified path. </p>
<h3>Usage</h3>
<code>string directory::get-parent-directory(<span class="parameter">path</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>path</td>
<td>string</td>
<td>The path for which to retrieve the parent directory.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The parent directory, or an empty <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemStringClassTopic.asp">String</a> if <i>path</i> is the root directory, including the root of a UNC server or share name. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li>The directory specified by <i>path</i> is read-only.</li><li><i>path</i> is a zero-length string, contains only white space, or contains one or more invalid characters.</li><li>The specified path, file name, or both exceed the system-defined maximum length.</li><li>The specified path was not found.</li></ul></div><h3>Examples</h3><ul class="examples"><li><p> Copy "readme.txt" from the current working directory to its parent directory. </p><pre class="code">
&lt;property name="current.dir" value="${directory::get-current-directory()}" /&gt;
&lt;property name="current.dir.parent" value="${directory::get-parent-directory(current.dir)}" /&gt;
&lt;copy file="${path::combine(current.dir, 'readme.txt')} todir="${current.dir.parent}" /&gt;
</pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetHostName-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>dns::get-host-name Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> dns::get-host-name</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>dns::get-host-name</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the host name of the local computer. </p>
<h3>Usage</h3>
<code>string dns::get-host-name()
</code>
<p />
<h3>Return Value</h3> A string that contains the DNS host name of the local computer. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li>An error is encountered when resolving the local host name.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting Parse-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>double::parse Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> double::parse</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>double::parse</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Converts the specified string representation of a number to its double-precision floating point number equivalent. </p>
<h3>Usage</h3>
<code>double double::parse(<span class="parameter">s</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>s</td>
<td>string</td>
<td>A string containing a number to convert.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> A double-precision floating point number equivalent to the numeric value or symbol specified in <i>s</i>. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><i>s</i> is not a number in a valid format.</li><li><i>s</i> represents a number less than <code>MinValue</code> or greater than <code>MaxValue</code>.</li></ul></div><h3>Remarks</h3> The <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationNumberFormatInfoClassTopic.asp">NumberFormatInfo</a> for the invariant culture is used to supply formatting information about <i>s</i>. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,50 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting ToString-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>double::to-string Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> double::to-string</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>double::to-string</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Converts the specified <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDoubleClassTopic.asp">Double</a> to its equivalent string representation. </p>
<h3>Usage</h3>
<code>string double::to-string(<span class="parameter">value</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>value</td>
<td>double</td>
<td>A <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDoubleClassTopic.asp">Double</a> to convert.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The string representation of <i>value</i> formatted using the general format specifier ("G"). <h3>Remarks</h3><i>value</i> is formatted with the <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationNumberFormatInfoClassTopic.asp">NumberFormatInfo</a> for the invariant culture. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,56 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetFolderPath-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>environment::get-folder-path Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> environment::get-folder-path</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>environment::get-folder-path</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the path to the system special folder identified by the specified enumeration. </p>
<h3>Usage</h3>
<code>string environment::get-folder-path(<span class="parameter">folder</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>folder</td>
<td>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemEnvironmentSpecialFolderClassTopic.asp">SpecialFolder</a>
</td>
<td>An enumerated constant that identifies a system special folder.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The path to the specified system special folder, if that folder physically exists on your computer; otherwise, the empty string (""). <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><i>folder</i> is not a member of <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemEnvironmentSpecialFolderClassTopic.asp">SpecialFolder</a>.</li></ul></div><h3>Examples</h3><ul class="examples"><li><p> Copy "out.log" from the project base directory to the program files directory. </p><pre class="code">
&lt;copy file="out.log" todir="${environment::get-folder-path('ProgramFiles')}" /&gt;
</pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetMachineName-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>environment::get-machine-name Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> environment::get-machine-name</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>environment::get-machine-name</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the NetBIOS name of this local computer. </p>
<h3>Usage</h3>
<code>string environment::get-machine-name()
</code>
<p />
<h3>Return Value</h3> The NetBIOS name of this local computer. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li>The name of this computer cannot be obtained.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,39 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetOperatingSystem-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>environment::get-operating-system Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> environment::get-operating-system</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>environment::get-operating-system</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets an <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemOperatingSystemClassTopic.asp">OperatingSystem</a> object that represents the current operating system. </p>
<h3>Usage</h3>
<code>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemOperatingSystemClassTopic.asp">OperatingSystem</a> environment::get-operating-system()
</code>
<p />
<h3>Return Value</h3> An <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemOperatingSystemClassTopic.asp">OperatingSystem</a> object that contains the current platform identifier and version number. <h3>Examples</h3><ul class="examples"><li><p> Output string representation of the current operating system. </p><pre class="code">
&lt;echo message="OS=${operating-system::to-string(environment::get-operating-system())}" /&gt;
</pre><p>If the operating system is Windows 2000, the output is:</p><pre class="code">Microsoft Windows NT 5.0.2195.0
</pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div><h3>See Also</h3><a href="../functions/index.html#Operating+System">Operating System</a> Functions</body>
</html>

View File

@@ -0,0 +1,41 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetUserName-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>environment::get-user-name Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> environment::get-user-name</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>environment::get-user-name</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the user name of the person who started the current thread. </p>
<h3>Usage</h3>
<code>string environment::get-user-name()
</code>
<p />
<h3>Return Value</h3> The name of the person logged on to the system who started the current thread. <h3>Examples</h3><ul class="examples"><li><p> Modify the home directory of the current user on unix-based systems. </p><pre class="code">
&lt;exec program="usermod"&gt;
&lt;arg value="-d" /&gt;
&lt;arg value="/home/temp" /&gt;
&lt;arg value="${environment::get-user-name()}" /&gt;
&lt;/exec&gt;
</pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetVariable-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>environment::get-variable Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> environment::get-variable</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>environment::get-variable</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Returns the value of the specified environment variable. </p>
<h3>Usage</h3>
<code>string environment::get-variable(<span class="parameter">name</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>name</td>
<td>string</td>
<td>The environment variable of which the value should be returned.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The value of the specified environment variable. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li>Environment variable <i>name</i> does not exist.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,38 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetVersion-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>environment::get-version Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> environment::get-version</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>environment::get-version</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets a <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemVersionClassTopic.asp">Version</a> object that describes the major, minor, build, and revision numbers of the Common Language Runtime. </p>
<h3>Usage</h3>
<code>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemVersionClassTopic.asp">Version</a> environment::get-version()
</code>
<p />
<h3>Return Value</h3> A Version object. <h3>Examples</h3><ul class="examples"><li><p>Output the major version of the CLR.</p><pre class="code">
&lt;echo message="Major version=${version::get-major(environment::get-version())}" /&gt;
</pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,37 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting NewLine-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>environment::newline Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> environment::newline</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>environment::newline</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the newline string defined for this environment. </p>
<h3>Usage</h3>
<code>string environment::newline()
</code>
<p />
<h3>Return Value</h3> A string containing CRLF for non-Unix platforms, or LF for Unix platforms. <h3>Examples</h3><ul class="examples"><li><p>Output two lines in a log file.</p><pre class="code">
&lt;echo file="build.log" message="First line${environment::newline()}Second line" /&gt;
</pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,55 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting VariableExists-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>environment::variable-exists Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> environment::variable-exists</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>environment::variable-exists</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets a value indicating whether the specified environment variable exists. </p>
<h3>Usage</h3>
<code>bool environment::variable-exists(<span class="parameter">name</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>name</td>
<td>string</td>
<td>The environment variable that should be checked.</td>
</tr>
</table>
</div>
<h3>Return Value</h3>
<b>true</b> if the environment variable exists; otherwise, <b>false</b>. <h3>Examples</h3><ul class="examples"><li><p> Execute a set of tasks only if the "BUILD_DEBUG" environment variable is set. </p><pre class="code">
&lt;if test="${environment::variable-exists('BUILD_DEBUG')}"&gt;
...
&lt;/if&gt;
</pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,55 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting Exists-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>file::exists Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> file::exists</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>file::exists</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Determines whether the specified file exists. </p>
<h3>Usage</h3>
<code>bool file::exists(<span class="parameter">file</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>file</td>
<td>string</td>
<td>The file to check.</td>
</tr>
</table>
</div>
<h3>Return Value</h3>
<b>true</b> if <i>file</i> refers to an existing file; otherwise, <b>false</b>. <h3>Examples</h3><ul class="examples"><li><p>Execute a set of tasks, if file "output.xml" does not exist.</p><pre class="code">
&lt;if test="${not file::exists('output.xml')}"&gt;
...
&lt;/if&gt;
</pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetCreationTime-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>file::get-creation-time Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> file::get-creation-time</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>file::get-creation-time</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Returns the creation date and time of the specified file. </p>
<h3>Usage</h3>
<code>datetime file::get-creation-time(<span class="parameter">path</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>path</td>
<td>string</td>
<td>The file for which to obtain creation date and time information.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The creation date and time of the specified file. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li>The specified file does not exist.</li><li><i>path</i> is a zero-length string, contains only white space, or contains one or more invalid characters.</li><li>The specified path, file name, or both exceed the system-defined maximum length.</li><li>The <i>path</i> parameter is in an invalid format.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetLastAccessTime-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>file::get-last-access-time Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> file::get-last-access-time</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>file::get-last-access-time</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Returns the date and time the specified file was last accessed. </p>
<h3>Usage</h3>
<code>datetime file::get-last-access-time(<span class="parameter">path</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>path</td>
<td>string</td>
<td>The file for which to obtain access date and time information.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The date and time the specified file was last accessed. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li>The specified file does not exist.</li><li><i>path</i> is a zero-length string, contains only white space, or contains one or more invalid characters.</li><li>The specified path, file name, or both exceed the system-defined maximum length.</li><li>The <i>path</i> parameter is in an invalid format.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetLastWriteTime-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>file::get-last-write-time Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> file::get-last-write-time</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>file::get-last-write-time</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Returns the date and time the specified file was last written to. </p>
<h3>Usage</h3>
<code>datetime file::get-last-write-time(<span class="parameter">path</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>path</td>
<td>string</td>
<td>The file for which to obtain write date and time information.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The date and time the specified file was last written to. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li>The specified file does not exist.</li><li><i>path</i> is a zero-length string, contains only white space, or contains one or more invalid characters.</li><li>The specified path, file name, or both exceed the system-defined maximum length.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetLength-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>file::get-length Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> file::get-length</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>file::get-length</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the length of the file. </p>
<h3>Usage</h3>
<code>long file::get-length(<span class="parameter">file</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>file</td>
<td>string</td>
<td>filename</td>
</tr>
</table>
</div>
<h3>Return Value</h3> Length in bytes, of the file named <i>file</i>. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li>The file specified cannot be found.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting IsAssembly-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>file::is-assembly Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> file::is-assembly</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>file::is-assembly</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Checks if a given file is an assembly. </p>
<h3>Usage</h3>
<code>bool file::is-assembly(<span class="parameter">assemblyFile</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>assemblyFile</td>
<td>string</td>
<td>The name or path of the file to be checked.</td>
</tr>
</table>
</div>
<h3>Return Value</h3>True if the file is a valid assembly, false if it's not or if the assembly seems corrupted (invalid headers or metadata).<h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><i>assemblyFile</i> is a null <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemStringClassTopic.asp">String</a>.</li><li><i>assemblyFile</i> is an empty <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemStringClassTopic.asp">String</a>.</li><li><i>assemblyFile</i> is not found, or the file you are trying to check does not specify a filename extension.</li><li>The caller does not have path discovery permission.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,58 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting UpToDate-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>file::up-to-date Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> file::up-to-date</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>file::up-to-date</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Determines whether <i>targetFile</i> is more or equal up-to-date than <i>srcFile</i>. </p>
<h3>Usage</h3>
<code>bool file::up-to-date(<span class="parameter">srcFile</span>, <span class="parameter">targetFile</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>srcFile</td>
<td>string</td>
<td>The file to check against the target file.</td>
</tr>
<tr>
<td>targetFile</td>
<td>string</td>
<td>The file for which we want to determine the status.</td>
</tr>
</table>
</div>
<h3>Return Value</h3>
<b>true</b> if <i>targetFile</i> is more or equal up-to-date than <i>srcFile</i>; otherwise, <b>false</b>. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><i>srcFile</i> or <i>targetFile</i> is a zero-length string, contains only white space, or contains one or more invalid characters.</li><li>The specified path, file name, or both of either <i>srcFile</i> or <i>targetFile</i> exceed the system-defined maximum length.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetCompanyName-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>fileversioninfo::get-company-name Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> fileversioninfo::get-company-name</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>fileversioninfo::get-company-name</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the name of the company that produced the file. </p>
<h3>Usage</h3>
<code>string fileversioninfo::get-company-name(<span class="parameter">fileVersionInfo</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>fileVersionInfo</td>
<td>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsFileVersionInfoClassTopic.asp">FileVersionInfo</a>
</td>
<td>A <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsFileVersionInfoClassTopic.asp">FileVersionInfo</a> instance containing version information about a file.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The name of the company that produced the file. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetFileVersion-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>fileversioninfo::get-file-version Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> fileversioninfo::get-file-version</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>fileversioninfo::get-file-version</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the file version of a file. </p>
<h3>Usage</h3>
<code>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemVersionClassTopic.asp">Version</a> fileversioninfo::get-file-version(<span class="parameter">fileVersionInfo</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>fileVersionInfo</td>
<td>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsFileVersionInfoClassTopic.asp">FileVersionInfo</a>
</td>
<td>A <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsFileVersionInfoClassTopic.asp">FileVersionInfo</a> instance containing version information about a file.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The file version of a file. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetProductName-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>fileversioninfo::get-product-name Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> fileversioninfo::get-product-name</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>fileversioninfo::get-product-name</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the name of the product the file is distributed with. </p>
<h3>Usage</h3>
<code>string fileversioninfo::get-product-name(<span class="parameter">fileVersionInfo</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>fileVersionInfo</td>
<td>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsFileVersionInfoClassTopic.asp">FileVersionInfo</a>
</td>
<td>A <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsFileVersionInfoClassTopic.asp">FileVersionInfo</a> instance containing version information about a file.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The name of the product the file is distributed with. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetProductVersion-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>fileversioninfo::get-product-version Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> fileversioninfo::get-product-version</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>fileversioninfo::get-product-version</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the product version of a file. </p>
<h3>Usage</h3>
<code>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemVersionClassTopic.asp">Version</a> fileversioninfo::get-product-version(<span class="parameter">fileVersionInfo</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>fileVersionInfo</td>
<td>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsFileVersionInfoClassTopic.asp">FileVersionInfo</a>
</td>
<td>A <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsFileVersionInfoClassTopic.asp">FileVersionInfo</a> instance containing version information about a file.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The product version of a file. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetVersionInfo-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>fileversioninfo::get-version-info Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> fileversioninfo::get-version-info</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>fileversioninfo::get-version-info</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Returns a <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsFileVersionInfoClassTopic.asp">FileVersionInfo</a> representing the version information associated with the specified file. </p>
<h3>Usage</h3>
<code>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsFileVersionInfoClassTopic.asp">FileVersionInfo</a> fileversioninfo::get-version-info(<span class="parameter">fileName</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>fileName</td>
<td>string</td>
<td>The file to retrieve the version information for.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> A <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemDiagnosticsFileVersionInfoClassTopic.asp">FileVersionInfo</a> containing information about the file. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li>The file specified cannot be found.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,51 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting Exists-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>framework::exists Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> framework::exists</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>framework::exists</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Checks whether the specified framework exists, and is valid. </p>
<h3>Usage</h3>
<code>bool framework::exists(<span class="parameter">framework</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>framework</td>
<td>string</td>
<td>The framework to test.</td>
</tr>
</table>
</div>
<h3>Return Value</h3>
<b>true</b> if the specified framework exists ; otherwise, <b>false</b>. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetAssemblyDirectory-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>framework::get-assembly-directory Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> framework::get-assembly-directory</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>framework::get-assembly-directory</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the assembly directory of the specified framework. </p>
<h3>Usage</h3>
<code>string framework::get-assembly-directory(<span class="parameter">framework</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>framework</td>
<td>string</td>
<td>The framework of which the assembly directory should be returned.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The assembly directory of the specified framework. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><i>framework</i> is not a valid framework identifier.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div><h3>See Also</h3><a href="../functions/framework.get-runtime-framework().html">framework::get-runtime-framework()</a> | <a href="../functions/framework.get-target-framework().html">framework::get-target-framework()</a></body>
</html>

View File

@@ -0,0 +1,36 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetClrVersion-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>framework::get-clr-version Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> framework::get-clr-version</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>framework::get-clr-version</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the Common Language Runtime version of the current target framework. </p>
<h3>Usage</h3>
<code>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemVersionClassTopic.asp">Version</a> framework::get-clr-version()
</code>
<p />
<h3>Return Value</h3> The Common Language Runtime version of the current target framework. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div><h3>See Also</h3><a href="../functions/framework.get-target-framework().html">framework::get-target-framework()</a></body>
</html>

View File

@@ -0,0 +1,53 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetClrVersion-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>framework::get-clr-version Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> framework::get-clr-version</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>framework::get-clr-version</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the Common Language Runtime version of the specified framework. </p>
<h3>Usage</h3>
<code>
<a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemVersionClassTopic.asp">Version</a> framework::get-clr-version(<span class="parameter">framework</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>framework</td>
<td>string</td>
<td>The framework of which the Common Language Runtime version should be returned.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The Common Language Runtime version of the specified framework. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><i>framework</i> is not a valid framework identifier.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div><h3>See Also</h3><a href="../functions/framework.get-runtime-framework().html">framework::get-runtime-framework()</a> | <a href="../functions/framework.get-target-framework().html">framework::get-target-framework()</a></body>
</html>

View File

@@ -0,0 +1,35 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetDescription-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>framework::get-description Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> framework::get-description</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>framework::get-description</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the description of the current target framework. </p>
<h3>Usage</h3>
<code>string framework::get-description()
</code>
<p />
<h3>Return Value</h3> The description of the current target framework. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div><h3>See Also</h3><a href="../functions/framework.get-target-framework().html">framework::get-target-framework()</a></body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Documenting GetDescription-->
<head>
<meta http-equiv="Content-Language" content="en-ca" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="../style.css" />
<title>framework::get-description Function</title>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
<tr>
<td class="NavBar-Cell">
<a href="http://nant.sourceforge.net">
<b>NAnt</b>
</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="../index.html">Help</a>
<img alt="-&gt;" src="../images/arrow.gif" />
<a href="index.html">Function Reference</a>
<img alt="-&gt;" src="../images/arrow.gif" /> framework::get-description</td>
<td class="NavBar-Cell" align="right">
v0.91-alpha2</td>
</tr>
</table>
<h1>framework::get-description</h1>
<p class="topicstatus">[This is preliminary documentation and subject to change.]</p>
<p> Gets the description of the specified framework. </p>
<h3>Usage</h3>
<code>string framework::get-description(<span class="parameter">framework</span>)
</code>
<p />
<h3>Parameters</h3>
<div class="table">
<table>
<tr>
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
<tr>
<td>framework</td>
<td>string</td>
<td>The framework of which the description should be returned.</td>
</tr>
</table>
</div>
<h3>Return Value</h3> The description of the specified framework. <h3>Exceptions</h3>
The function will fail in any of the following circumstances:
<div style="margin-left: 40px;"><ul><li><i>framework</i> is not a valid framework identifier.</li></ul></div><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.3881.0)
</div><h3>See Also</h3><a href="../functions/framework.get-runtime-framework().html">framework::get-runtime-framework()</a> | <a href="../functions/framework.get-target-framework().html">framework::get-target-framework()</a></body>
</html>

Some files were not shown because too many files have changed in this diff Show More