C# 클래스 NAnt.VSNet.ProjectBaseCollection

상속: System.Collections.CollectionBase
파일 보기 프로젝트 열기: skolima/NAnt 1 사용 예제들

공개 메소드들

메소드 설명
Add ( ProjectBase item ) : int

Adds a ProjectBase to the end of the collection.

AddRange ( ProjectBase items ) : void

Adds the elements of a ProjectBase array to the end of the collection.

AddRange ( ProjectBaseCollection items ) : void

Adds the elements of a ProjectBaseCollection to the end of the collection.

Contains ( ProjectBase item ) : bool

Determines whether a ProjectBase is in the collection.

Contains ( string value ) : bool

Determines whether a ProjectBase with the specified GUID is in the collection, using a case-insensitive lookup.

CopyTo ( ProjectBase array, int index ) : void

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.

GetEnumerator ( ) : ProjectBaseEnumerator

Returns an enumerator that can iterate through the collection.

IndexOf ( ProjectBase item ) : int

Retrieves the index of a specified ProjectBase object in the collection.

Insert ( int index, ProjectBase item ) : void

Inserts a ProjectBase into the collection at the specified index.

ProjectBaseCollection ( ) : System

Initializes a new instance of the ProjectBaseCollection class.

ProjectBaseCollection ( ProjectBase value ) : System

Initializes a new instance of the ProjectBaseCollection class with the specified array of ProjectBase instances.

ProjectBaseCollection ( ProjectBaseCollection value ) : System

Initializes a new instance of the ProjectBaseCollection class with the specified ProjectBaseCollection instance.

Remove ( ProjectBase item ) : void

Removes a member from the collection.

Remove ( string guid ) : void

Remove items with the specified guid from the collection.

비공개 메소드들

메소드 설명
this ( int index ) : ProjectBase
this ( string guid ) : ProjectBase

메소드 상세

Add() 공개 메소드

Adds a ProjectBase to the end of the collection.
public Add ( ProjectBase item ) : int
item ProjectBase The to be added to the end of the collection.
리턴 int

AddRange() 공개 메소드

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

AddRange() 공개 메소드

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

Contains() 공개 메소드

Determines whether a ProjectBase is in the collection.
public Contains ( ProjectBase item ) : bool
item ProjectBase The to locate in the collection.
리턴 bool

Contains() 공개 메소드

Determines whether a ProjectBase with the specified GUID is in the collection, using a case-insensitive lookup.
public Contains ( string value ) : bool
value string The GUID to locate in the collection.
리턴 bool

CopyTo() 공개 메소드

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.
public CopyTo ( ProjectBase array, int index ) : void
array ProjectBase The one-dimensional array that is the destination of the elements copied from the collection. The array 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 ( ) : ProjectBaseEnumerator
리턴 ProjectBaseEnumerator

IndexOf() 공개 메소드

Retrieves the index of a specified ProjectBase object in the collection.
public IndexOf ( ProjectBase item ) : int
item ProjectBase The object for which the index is returned.
리턴 int

Insert() 공개 메소드

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

ProjectBaseCollection() 공개 메소드

Initializes a new instance of the ProjectBaseCollection class.
public ProjectBaseCollection ( ) : System
리턴 System

ProjectBaseCollection() 공개 메소드

Initializes a new instance of the ProjectBaseCollection class with the specified array of ProjectBase instances.
public ProjectBaseCollection ( ProjectBase value ) : System
value ProjectBase
리턴 System

ProjectBaseCollection() 공개 메소드

Initializes a new instance of the ProjectBaseCollection class with the specified ProjectBaseCollection instance.
public ProjectBaseCollection ( ProjectBaseCollection value ) : System
value ProjectBaseCollection
리턴 System

Remove() 공개 메소드

Removes a member from the collection.
public Remove ( ProjectBase item ) : void
item ProjectBase The to remove from the collection.
리턴 void

Remove() 공개 메소드

Remove items with the specified guid from the collection.
public Remove ( string guid ) : void
guid string The guid of the project to remove from the collection.
리턴 void