The ReadOnlyEntityCollection type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ReadOnlyEntityCollection |
Initializes a new instance of the ReadOnlyEntityCollection class.
|
Methods
| Name | Description | |
|---|---|---|
| AddItem |
Delegates adding of an item to the bound managed item collection.
| |
| AddNewItem |
Delegates adding of a new item created based on the specified parameters to the bound managed item collection.
| |
| ClearItems |
Delegates clearing of all items from the bound managed item collection.
| |
| Contains | Determines whether an element is in the ReadOnlyCollection<(Of <(T>)>). (Inherited from ReadOnlyCollection<(Of <(Entity>)>).) | |
| CopyTo | Copies the entire ReadOnlyCollection<(Of <(T>)>) to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from ReadOnlyCollection<(Of <(Entity>)>).) | |
| CreateNewItem |
Called when a new item is created in the collection by calling InsertNewItem method and the event handlers of the NewItem event haven't set up the new item themselves.
Inheriters should return their own item type based on the parameters list provided.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator | Returns an enumerator that iterates through the ReadOnlyCollection<(Of <(T>)>). (Inherited from ReadOnlyCollection<(Of <(Entity>)>).) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire ReadOnlyCollection<(Of <(T>)>). (Inherited from ReadOnlyCollection<(Of <(Entity>)>).) | |
| InsertItem |
Delegates inserting of an item to the bound managed item collection.
| |
| InsertNewItem |
Delegates inserting of a new item created based on the specified parameters to the bound managed item collection.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnCollectionChanged | (Inherited from ReadOnlyObservableCollection<(Of <(Entity>)>).) | |
| OnNewItem |
Raises the NewItem event when a new item is created in the collection by calling InsertNewItem method to allow the event handlers to create their own item type. If the event handlers do not set up a new item (using the Item property setter of the event arguments) creates a new item by calling CreateNewItem method.
| |
| OnPropertyChanged | (Inherited from ReadOnlyObservableCollection<(Of <(Entity>)>).) | |
| RemoveItem |
Delegates removing of an item from the bound managed item collection.
| |
| RemoveItemAt |
Delegates removing of an item from the bound managed item collection.
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Count | Gets the number of elements contained in the ReadOnlyCollection<(Of <(T>)>) instance. (Inherited from ReadOnlyCollection<(Of <(Entity>)>).) | |
| Item |
Gets the entity at the specified index.
| |
| Items | Returns the IList<(Of <(T>)>) that the ReadOnlyCollection<(Of <(T>)>) wraps. (Inherited from ReadOnlyCollection<(Of <(Entity>)>).) | |
| ParentManager |
Gets the parent manager of this collection.
|
Events
| Name | Description | |
|---|---|---|
| CollectionChanged | (Inherited from ReadOnlyObservableCollection<(Of <(Entity>)>).) | |
| NewItem |
Occurs when a new item is created in the collection by calling InsertNewItem method to allow the event handlers to create their own item type.
| |
| PropertyChanged | (Inherited from ReadOnlyObservableCollection<(Of <(Entity>)>).) |