C# 클래스 NAnt.NUnit2.Types.CategoryCollection

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

공개 메소드들

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

Adds a Category to the end of the collection.

AddRange ( Category items ) : void

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

AddRange ( CategoryCollection items ) : void

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

CategoryCollection ( ) : System

Initializes a new instance of the CategoryCollection class.

CategoryCollection ( Category value ) : System

Initializes a new instance of the CategoryCollection class with the specified array of Category instances.

CategoryCollection ( CategoryCollection value ) : System

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

Contains ( Category item ) : bool

Determines whether a Category is in the collection.

Contains ( string value ) : bool

Determines whether a Category with the specified value is in the collection.

CopyTo ( Category array, int index ) : void

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

GetEnumerator ( ) : CategoryEnumerator

Returns an enumerator that can iterate through the collection.

IndexOf ( Category item ) : int

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

Insert ( int index, Category item ) : void

Inserts a Category into the collection at the specified index.

Remove ( Category item ) : void

Removes a member from the collection.

ToString ( ) : string

Returns a comma-delimited list of categories.

비공개 메소드들

메소드 설명
this ( int index ) : Category
this ( string value ) : Category

메소드 상세

Add() 공개 메소드

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

AddRange() 공개 메소드

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

AddRange() 공개 메소드

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

CategoryCollection() 공개 메소드

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

CategoryCollection() 공개 메소드

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

CategoryCollection() 공개 메소드

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

Contains() 공개 메소드

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

Contains() 공개 메소드

Determines whether a Category with the specified value is in the collection.
public Contains ( string value ) : bool
value string The argument value 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 ( Category array, int index ) : void
array Category 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 ( ) : CategoryEnumerator
리턴 CategoryEnumerator

IndexOf() 공개 메소드

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

Insert() 공개 메소드

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

Remove() 공개 메소드

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

ToString() 공개 메소드

Returns a comma-delimited list of categories.
public ToString ( ) : string
리턴 string