NAnt Help Task Reference <typedcollection> | NAnt.Contrib.Tasks () |
Generates collection classes based on a given XML specification file. Code generation is in the specified language.
See the CollectionGen tool page for more information.
Attribute | Type | Description | Required |
---|---|---|---|
language | string | The language to generate collection classes for. Valid values are "CSharp" or "VB". | True |
file | string | The name of the template file for collection generation. This is provided as an alternate to using the task's fileset. | False |
failonerror | bool | False | |
if | bool | False | |
unless | bool | False | |
verbose | bool | False |
<typedcollection language="CSharp"> <fileset> <includes name="collections.xml"/> </fileset> </typedcollection>