[]
Base collection implementing IOwnedObject interface.
public class OwnedCollectionBase<TItem> : Collection<TItem>, IList<TItem>, ICollection<TItem>, IReadOnlyList<TItem>, IReadOnlyCollection<TItem>, IEnumerable<TItem>, IOwnedObject, IList, ICollection, IEnumerable
Public Class OwnedCollectionBase(Of TItem)
Inherits Collection(Of TItem)
Implements IList(Of TItem), ICollection(Of TItem), IReadOnlyList(Of TItem), IReadOnlyCollection(Of TItem), IEnumerable(Of TItem), IOwnedObject, IList, ICollection, IEnumerable
Name | Description |
---|---|
TItem |
Name | Description |
---|---|
OwnedCollectionBase() |
Name | Description |
---|---|
Changed | Gets a value indicating whether the collection was changed. |
Owner | Gets a collection owner. |
Name | Description |
---|---|
AddRange(IEnumerable<TItem>) | Adds all items from |
AddRange(IEnumerable) | Adds all items from |
ClearItems() | |
InsertItem(int, TItem) | |
OnChanged() | Called when collection is changed, sets Changed to true. |
RemoveItem(int) | |
SetItem(int, TItem) | |
SetOwner(object) | Sets the owner of the current object. |
Sort(IComparer<TItem>) | Sorts the elements in the entire collection using the specified IComparer<T>. |
Sort(Comparison<TItem>) | Sorts the elements in the entire collection using the specified Comparison<T>. |
Sort(int, int, IComparer<TItem>) | Sorts the elements in a range of elements using the specified IComparer<T>. |