C# Class NAnt.Core.TargetCollection

Inheritance: System.Collections.ArrayList
显示文件 Open project: skolima/NAnt Class Usage Examples

Public Methods

Method Description
Add ( Target t ) : int
Add ( object value ) : int
Find ( string targetName ) : Target

Finds a target by name.

ToString ( ) : string

Gets the names of the targets in the TargetCollection combined into one comma-separated list.

ToString ( string separator ) : string

Gets the names of the targets in the TargetCollection combined into one list separated by the given string.

Method Details

Add() public method

public Add ( Target t ) : int
t Target
return int

Add() public method

public Add ( object value ) : int
value object
return int

Find() public method

Finds a target by name.
public Find ( string targetName ) : Target
targetName string The name of the target to find.
return Target

ToString() public method

Gets the names of the targets in the TargetCollection combined into one comma-separated list.
public ToString ( ) : string
return string

ToString() public method

Gets the names of the targets in the TargetCollection combined into one list separated by the given string.
public ToString ( string separator ) : string
separator string
return string