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

Base class for collections that needs to be globally referencable.
상속: NAnt.Core.DataTypeBase, ICollection
파일 보기 프로젝트 열기: skolima/NAnt

Private Properties

프로퍼티 타입 설명
IEnumerable IEnumerator

공개 메소드들

메소드 설명
Clear ( ) : void

Removes all items from the collection.

CopyTo ( Array array, int index ) : void

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

RemoveAt ( int index ) : void

Removes an item at a specific index.

보호된 메소드들

메소드 설명
DataTypeCollectionBase ( ) : System

Initializes a new instance of the DataTypeCollectionBase class.

RangeCheck ( int index ) : void

Checks whether the specified index is within the range of this collection.

ValidateType ( object value ) : void

Used by methods that take object instances as argument to verify whether the instance is valid for the collection class.

비공개 메소드들

메소드 설명
IEnumerable ( ) : IEnumerator

Returns an enumerator that can iterate through a collection.

메소드 상세

Clear() 공개 메소드

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

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

DataTypeCollectionBase() 보호된 메소드

Initializes a new instance of the DataTypeCollectionBase class.
protected DataTypeCollectionBase ( ) : System
리턴 System

RangeCheck() 보호된 메소드

Checks whether the specified index is within the range of this collection.
protected RangeCheck ( int index ) : void
index int The index to check.
리턴 void

RemoveAt() 공개 메소드

Removes an item at a specific index.
public RemoveAt ( int index ) : void
index int The zero-based index of the item to remove.
리턴 void

ValidateType() 보호된 메소드

Used by methods that take object instances as argument to verify whether the instance is valid for the collection class.
protected ValidateType ( object value ) : void
value object The instance to verify.
리턴 void