C# Class NAnt.Core.DirScannerStringCollection

Inheritance: StringCollectionWithGoodToString
显示文件 Open project: skolima/NAnt Class Usage Examples

Public Methods

Method Description
Clone ( ) : object

Creates a shallow copy of the DirScannerStringCollection.

Contains ( string value ) : bool

Determines whether the specified string is in the DirScannerStringCollection.

String comparisons within the DirScannerStringCollection are only case-sensitive if CaseSensitive is

DirScannerStringCollection ( bool caseSensitive ) : System

Initialize a new instance of the DirScannerStringCollection class specifying whether or not string comparison should be case-sensitive.

IndexOf ( string value ) : int

Searches for the specified string and returns the zero-based index of the first occurrence within the DirScannerStringCollection.

String comparisons within the DirScannerStringCollection are only case-sensitive if CaseSensitive is .

Method Details

Clone() public method

Creates a shallow copy of the DirScannerStringCollection.
public Clone ( ) : object
return object

Contains() public method

Determines whether the specified string is in the DirScannerStringCollection.
String comparisons within the DirScannerStringCollection are only case-sensitive if CaseSensitive is
public Contains ( string value ) : bool
value string The string to locate in the . The value can be .
return bool

DirScannerStringCollection() public method

Initialize a new instance of the DirScannerStringCollection class specifying whether or not string comparison should be case-sensitive.
public DirScannerStringCollection ( bool caseSensitive ) : System
caseSensitive bool Specifies whether or not string comparison should be case-sensitive.
return System

IndexOf() public method

Searches for the specified string and returns the zero-based index of the first occurrence within the DirScannerStringCollection.
String comparisons within the DirScannerStringCollection are only case-sensitive if CaseSensitive is .
public IndexOf ( string value ) : int
value string The string to locate. The value can be .
return int