C# Class NAnt.DotNet.Types.NamespaceImportCollection

Inheritance: DataTypeCollectionBase, IList
Afficher le fichier Open project: skolima/NAnt Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat void

Contains() public méthode

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

GetEnumerator() public méthode

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

IndexOf() public méthode

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.
Résultat int

Insert() public méthode

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.
Résultat void

Remove() public méthode

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

ToString() public méthode

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