C# Class NAnt.DotNet.Types.NamespaceImportCollection

Inheritance: DataTypeCollectionBase, IList
ファイルを表示 Open project: skolima/NAnt Class Usage Examples

Public Methods

Method Description
AddRange ( NamespaceImportCollection items ) : void

Adds the items of a NamespaceImportCollection to the end of the collection.

Contains ( NamespaceImport value ) : bool

Determines whether a NamespaceImport is in the collection.

GetEnumerator ( ) : NamespaceImportEnumerator

Returns an enumerator that can iterate through the collection.

IndexOf ( NamespaceImport value ) : int

Gets the location of a NamespaceImport in the collection.

If the NamespaceImport is not currently a member of the collection, -1 is returned.

Insert ( int index, NamespaceImport value ) : void

Inserts a NamespaceImport into the collection at the specified index.

Remove ( NamespaceImport value ) : void

Removes the specified NamespaceImport from the collection.

ToString ( ) : string

Returns a comma-delimited list of namespace imports.

Each namespace import is quoted individually.

Private Methods

Method Description
Add ( NamespaceImport value ) : int
IList ( object value ) : bool

Determines whether a NamespaceImport is in the collection.

IList ( object value ) : int

Adds a NamespaceImport to the end of the collection.

IList ( int index, object value ) : void

Inserts a NamespaceImport into the collection at the specified index.

IList ( object value ) : void

Removes the specified NamespaceImport from the collection.

this ( int index ) : NamespaceImport
this ( string value ) : NamespaceImport
this ( int index ) : objectIList.System

Gets or sets the item at the specified index.

Method Details

AddRange() public method

Adds the items of a NamespaceImportCollection to the end of the collection.
public AddRange ( NamespaceImportCollection items ) : void
items NamespaceImportCollection The to be added to the end of the collection.
return void

Contains() public method

Determines whether a NamespaceImport is in the collection.
public Contains ( NamespaceImport value ) : bool
value NamespaceImport The to locate in the collection.
return bool

GetEnumerator() public method

Returns an enumerator that can iterate through the collection.
public GetEnumerator ( ) : NamespaceImportEnumerator
return NamespaceImportEnumerator

IndexOf() public method

Gets the location of a NamespaceImport in the collection.
If the NamespaceImport is not currently a member of the collection, -1 is returned.
public IndexOf ( NamespaceImport value ) : int
value NamespaceImport The object to locate.
return int

Insert() public method

Inserts a NamespaceImport into the collection at the specified index.
public Insert ( int index, NamespaceImport value ) : void
index int The zero-based index at which should be inserted.
value NamespaceImport The to insert.
return void

Remove() public method

Removes the specified NamespaceImport from the collection.
public Remove ( NamespaceImport value ) : void
value NamespaceImport The to remove from the collection.
return void

ToString() public method

Returns a comma-delimited list of namespace imports.
Each namespace import is quoted individually.
public ToString ( ) : string
return string