Summary
Determines whether a
NAnt.Core.Types.Option
for the specified
task is in the collection.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Types - Containing Type
- OptionCollection
Syntax
public bool Contains(string taskName)
Parameters
Name | Type | Description |
---|---|---|
taskName | string | The name of task for which the NAnt.Core.Types.Option should be located in the collection. |
Return Value
Type | Description |
---|---|
bool |
true if a NAnt.Core.Types.Option for the specified
task is found in the collection; otherwise, false .
|