C# 클래스 NAnt.DotNet.Types.ModuleCollection

상속: IList, IEnumerable
파일 보기 프로젝트 열기: skolima/NAnt 1 사용 예제들

Private Properties

프로퍼티 타입 설명
IEnumerable IEnumerator
IList bool
IList int
IList void
IList void
this NAnt.DotNet.Types.Module
this objectIList.System

공개 메소드들

메소드 설명
Add ( NAnt.DotNet.Types.Module value ) : int

Adds a Module to the end of the collection.

AddRange ( ModuleCollection items ) : void

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

Clear ( ) : void

Removes all items from the collection.

Contains ( NAnt.DotNet.Types.Module value ) : bool

Determines whether a Module is in the collection.

CopyTo ( Array array, int index ) : void

Copies the items of the collection to an Array, starting at a particular index.

GetEnumerator ( ) : ModuleEnumerator

Returns an enumerator that can iterate through the collection.

IndexOf ( NAnt.DotNet.Types.Module value ) : int

Gets the location of a Module in the collection.

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

Insert ( int index, NAnt.DotNet.Types.Module value ) : void

Inserts a Module into the collection at the specified index.

ModuleCollection ( NAnt.DotNet.Types.ModuleSet moduleSet ) : System

Initializes a new instance of the ModuleCollection for the specified ModuleSet.

Remove ( NAnt.DotNet.Types.Module value ) : void

Removes the specified Module from the collection.

RemoveAt ( int index ) : void

Removes an item at a specific index.

비공개 메소드들

메소드 설명
IEnumerable ( ) : IEnumerator

Returns an enumerator that can iterate through the collection.

IList ( object value ) : bool

Determines whether a Module is in the collection.

IList ( object value ) : int

Adds a Module to the end of the collection.

IList ( int index, object value ) : void

Inserts a Module into the collection at the specified index.

IList ( object value ) : void

Removes the specified Module from the collection.

this ( int index ) : NAnt.DotNet.Types.Module
this ( int index ) : objectIList.System

Gets or sets the item at the specified index.

메소드 상세

Add() 공개 메소드

Adds a Module to the end of the collection.
public Add ( NAnt.DotNet.Types.Module value ) : int
value NAnt.DotNet.Types.Module The to be added to the end of the collection.
리턴 int

AddRange() 공개 메소드

Adds the items of a ModuleCollection to the end of the collection.
public AddRange ( ModuleCollection items ) : void
items ModuleCollection The to be added to the end of the collection.
리턴 void

Clear() 공개 메소드

Removes all items from the collection.
public Clear ( ) : void
리턴 void

Contains() 공개 메소드

Determines whether a Module is in the collection.
public Contains ( NAnt.DotNet.Types.Module value ) : bool
value NAnt.DotNet.Types.Module The to locate in the collection.
리턴 bool

CopyTo() 공개 메소드

Copies the items of the collection to an Array, starting at a particular index.
public CopyTo ( Array array, int index ) : void
array System.Array The one-dimensional that is the destination of the items copied from the collection. The must have zero-based indexing.
index int The zero-based index in at which copying begins.
리턴 void

GetEnumerator() 공개 메소드

Returns an enumerator that can iterate through the collection.
public GetEnumerator ( ) : ModuleEnumerator
리턴 ModuleEnumerator

IndexOf() 공개 메소드

Gets the location of a Module in the collection.
If the Module is not currently a member of the collection, -1 is returned.
public IndexOf ( NAnt.DotNet.Types.Module value ) : int
value NAnt.DotNet.Types.Module The object to locate.
리턴 int

Insert() 공개 메소드

Inserts a Module into the collection at the specified index.
public Insert ( int index, NAnt.DotNet.Types.Module value ) : void
index int The zero-based index at which should be inserted.
value NAnt.DotNet.Types.Module The to insert.
리턴 void

ModuleCollection() 공개 메소드

Initializes a new instance of the ModuleCollection for the specified ModuleSet.
is .
public ModuleCollection ( NAnt.DotNet.Types.ModuleSet moduleSet ) : System
moduleSet NAnt.DotNet.Types.ModuleSet The containing the collection.
리턴 System

Remove() 공개 메소드

Removes the specified Module from the collection.
public Remove ( NAnt.DotNet.Types.Module value ) : void
value NAnt.DotNet.Types.Module The to remove from the collection.
리턴 void

RemoveAt() 공개 메소드

Removes an item at a specific index.
The parameter is less than 0 or greater than or equal to the value of the property of the .
public RemoveAt ( int index ) : void
index int The zero-based index of the item to remove.
리턴 void