NAnt SDK Documentation - v0.85-nightly-2005-11-09

CommandLineParser Constructor 

[This is preliminary documentation and subject to change.]

Initializes a new instance of the CommandLineParser class using possible arguments deducted from the specific Type.

[Visual Basic]
Public Sub New( _
   ByVal argumentSpecification As Type, _
   ByVal supportsResponseFile As Boolean _
)
[C#]
public CommandLineParser(
   Type argumentSpecification,
   bool supportsResponseFile
);

Parameters

argumentSpecification
The Type from which the possible command-line arguments should be retrieved.
supportsResponseFile
A Boolean value indicating whether or not a response file is able to be used.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Util.CommandLineParser.#ctor(System.Type,System.Boolean)

Exceptions

Exception Type Condition
ArgumentNullException argumentSpecification is a null reference.

See Also

CommandLineParser Class | NAnt.Core.Util Namespace