Summary
Generates collection classes based on a given XML specification file. Code generation is in the specified language.
- Assembly
- NAnt
.Contrib .dll - Namespace
- NAnt
.Contrib .Tasks - Base Types
-
- Task
graph BT
Type-->Base0["Task"]
Type["TypedCollectionTask"]
class Type type-node
Syntax
[TaskName("typedcollection")]
public class TypedCollectionTask : Task
Examples
<typedcollection language="CSharp">
<fileset>
<include name="collections.xml" />
</fileset>
</typedcollection>
Remarks
See the CollectionGen tool page for more information.
Attributes
Type | Description |
---|---|
TaskName |
Properties
Name | Value | Summary |
---|---|---|
FileName | string |
The name of the template file for collection generation. This is provided as an alternate to using the task's fileset.
|
Language | string |
The language to generate collection classes for. Valid values are "CSharp" or "VB".
|
TypedCollFileSet | FileSet |
All files in this fileset will be run thru the collection generator.
|
Methods
Name | Value | Summary |
---|---|---|
ExecuteTask |
void |