Collection Class |
Namespace: Slash.Unity.DataBind.Core.Data
The Collection type exposes the following members.
| Name | Description | |
|---|---|---|
| Collection | Initializes a new instance of the Collection class |
| Name | Description | |
|---|---|---|
| Count |
Number of items in the collection.
| |
| IsInitialized |
Indicates if data provider is initialized to provide a valid value.
| |
| Item |
Gets/Sets the item at the specified index.
| |
| ItemType |
Type of items in this collection.
| |
| Value |
Current data value.
|
| Name | Description | |
|---|---|---|
| AddNewItem |
Adds a new item to the collection.
| |
| GetEnumerator | Returns an enumerator that iterates through a collection. | |
| GetItem |
Returns the item at the specified index of the collection.
| |
| GetNonGenericEnumerator |
Returns a non-generic enumerator for the collection.
| |
| OnClearedItems |
Called when the collection was cleared.
| |
| OnItemAdded |
Called when an item was added.
| |
| OnItemInserted |
Called when an item was inserted at a specific position.
| |
| OnItemRemoved |
Called when an item was removed.
| |
| OnValueChanged |
Called when the collection changed.
| |
| Remove |
Removes the specified item from the collection.
| |
| SetItem |
Sets the item at the specified index.
|
| Name | Description | |
|---|---|---|
| Cleared |
Called when the collection was cleared.
| |
| ClearedItems |
Called when the collection was cleared.
| |
| ItemAdded |
Called when an item was added.
| |
| ItemInserted |
Called when an item was inserted.
| |
| ItemRemoved |
Called when an item was removed.
| |
| ValueChanged |
Called when the collection changed.
|
| Name | Description | |
|---|---|---|
| Implode |
Creates a separated string from the items of a collection.
Mostly used for debugging issues.
(Defined by CollectionUtils.) |