[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.OwnedCollection-1

Class OwnedCollection<TItem>

Namespace
GrapeCity.Documents.Common
Assembly
GcDocs.Imaging.dll

Base class for collection containing items supporting IOwnedObject interface. Collection updates Owner property of items.

public class OwnedCollection<TItem> : OwnedCollectionBase<TItem>, IList<TItem>, ICollection<TItem>, IReadOnlyList<TItem>, IReadOnlyCollection<TItem>, IEnumerable<TItem>, IOwnedObject, IList, ICollection, IEnumerable where TItem : IOwnedObject

Type Parameters

TItem
Inheritance
object
System.Collections.ObjectModel.Collection<T><TItem>
OwnedCollection<TItem>
Implements
System.Collections.Generic.IList<T><TItem>
System.Collections.Generic.ICollection<T><TItem>
System.Collections.Generic.IReadOnlyList<T><TItem>
System.Collections.Generic.IReadOnlyCollection<T><TItem>
System.Collections.Generic.IEnumerable<T><TItem>
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.ObjectModel.Collection<TItem>.Add(TItem)
System.Collections.ObjectModel.Collection<TItem>.Clear()
System.Collections.ObjectModel.Collection<TItem>.CopyTo(TItem[], int)
System.Collections.ObjectModel.Collection<TItem>.Contains(TItem)
System.Collections.ObjectModel.Collection<TItem>.GetEnumerator()
System.Collections.ObjectModel.Collection<TItem>.IndexOf(TItem)
System.Collections.ObjectModel.Collection<TItem>.Insert(int, TItem)
System.Collections.ObjectModel.Collection<TItem>.Remove(TItem)
System.Collections.ObjectModel.Collection<TItem>.RemoveAt(int)
System.Collections.ObjectModel.Collection<TItem>.Count
System.Collections.ObjectModel.Collection<TItem>.Items
System.Collections.ObjectModel.Collection<TItem>.this[int]
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

OwnedCollection()

public OwnedCollection()

Methods

ClearItems()

protected override void ClearItems()

InsertItem(int, TItem)

protected override void InsertItem(int index, TItem item)

Parameters

index int
item TItem

RemoveItem(int)

protected override void RemoveItem(int index)

Parameters

index int

SetItem(int, TItem)

protected override void SetItem(int index, TItem item)

Parameters

index int
item TItem