C# 클래스 Microsoft.Silverlight.Testing.Controls.CollectionHelper

A set of extension methods for manipulating collections.
파일 보기 프로젝트 열기: garyjohnson/wpnest

공개 메소드들

메소드 설명
Add ( this collection, object item ) : void

Adds an item to the collection.

CanInsert ( this collection, object item ) : bool

Returns a value Indicating whether an item can be inserted in a collection.

Count ( this collection ) : int

Gets the number of items in the collection.

Insert ( this collection, int index, object item ) : void

Inserts an item into the collection at an index.

IsReadOnly ( this collection ) : bool

Returns a value indicating whether a collection is read-only.

Remove ( this collection, object item ) : void

Removes an item from the collection.

비공개 메소드들

메소드 설명
RemoveAt ( this collection, int index ) : void

메소드 상세

Add() 공개 정적인 메소드

Adds an item to the collection.
public static Add ( this collection, object item ) : void
collection this The collection.
item object The item to be added.
리턴 void

CanInsert() 공개 정적인 메소드

Returns a value Indicating whether an item can be inserted in a collection.
public static CanInsert ( this collection, object item ) : bool
collection this The collection.
item object The item to be inserted.
리턴 bool

Count() 공개 정적인 메소드

Gets the number of items in the collection.
public static Count ( this collection ) : int
collection this The collection.
리턴 int

Insert() 공개 정적인 메소드

Inserts an item into the collection at an index.
public static Insert ( this collection, int index, object item ) : void
collection this The collection.
index int The index at which to insert the item.
item object The item to be inserted.
리턴 void

IsReadOnly() 공개 정적인 메소드

Returns a value indicating whether a collection is read-only.
public static IsReadOnly ( this collection ) : bool
collection this The collection to examine.
리턴 bool

Remove() 공개 정적인 메소드

Removes an item from the collection.
public static Remove ( this collection, object item ) : void
collection this The collection.
item object The item to be removed.
리턴 void