CollectionT Class |
Namespace: Slash.Unity.DataBind.Core.Data
public sealed class Collection<T> : Collection, IList<T>, IEnumerable, ICollection<T>, IEnumerable<T>
The CollectionT type exposes the following members.
Name | Description | |
---|---|---|
CollectionT |
Constructor.
| |
CollectionT(IEnumerableT) |
Constructor.
|
Name | Description | |
---|---|---|
IsReadOnly |
Indicates if the collection is read-only.
| |
Item | Gets or sets the element at the specified index. | |
ItemType |
Type of items in this collection.
(Overrides CollectionItemType.) | |
Value |
Current data value.
(Overrides CollectionValue.) |
Name | Description | |
---|---|---|
Add | Adds an item to the ICollectionT. | |
AddNewItem |
Adds a new item to the collection.
(Overrides CollectionAddNewItem.) | |
Clear | Removes all items from the ICollectionT. | |
Contains |
Indicates if the collection contains the specified item.
| |
CopyTo |
Copies the collection to the specified index in the specified array.
| |
GetEnumerator | Returns an enumerator that iterates through the collection. | |
IndexOf |
Returns the index of the specified item in the collection.
| |
Insert | Inserts an item to the IListT at the specified index. | |
Remove(Object) |
Removes the specified item from the collection.
(Overrides CollectionRemove(Object).) | |
Remove(T) |
Removes the specified item from the collection.
| |
RemoveAt |
Removes the item at the specified index.
|
Name | Description | |
---|---|---|
Implode(String) | Overloaded.
Creates a separated string from the items of a collection.
Mostly used for debugging issues.
(Defined by CollectionUtils.) | |
ImplodeT(String) | Overloaded.
Creates a separated string from the items of a collection.
Mostly used for debugging issues.
(Defined by CollectionUtils.) |