NAnt SDK Documentation - v0.92 |

# CommandLineParser Constructor

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.

#### Exceptions

Exception Type | Condition
--- | ---
ArgumentNullException | argumentSpecification is a null reference.

#### See Also

CommandLineParser Class | NAnt.Core.Util Namespace