CollectionCovarianceAdapter<TDerived, TBase> - класс

Definition

Пространство имён: Tessa.UI
Сборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.23
C#
public sealed class CollectionCovarianceAdapter<TDerived, TBase> : Collection<TBase>
where TDerived : TBase
Inheritance
Object    Collection<TBase>    CollectionCovarianceAdapter<TDerived, TBase>

Параметры типа

TDerived
TBase

Конструкторы

CollectionCovarianceAdapter<TDerived, TBase>Инициализирует новый экземпляр класса CollectionCovarianceAdapter<TDerived, TBase>

Свойства

CountGets the number of elements actually contained in the Collection<T>.
(Унаследован от Collection<TBase>)
ItemGets or sets the element at the specified index.
(Унаследован от Collection<TBase>)
ItemsGets a IList<T> wrapper around the Collection<T>.
(Унаследован от Collection<TBase>)

Методы

AddAdds an object to the end of the Collection<T>.
(Унаследован от Collection<TBase>)
ClearRemoves all elements from the Collection<T>.
(Унаследован от Collection<TBase>)
ClearItems
(Переопределяет Collection<T>.ClearItems())
ContainsDetermines whether an element is in the Collection<T>.
(Унаследован от Collection<TBase>)
CopyToCopies the entire Collection<T> to a compatible one-dimensional Array, starting at the specified index of the target array.
(Унаследован от Collection<TBase>)
EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetEnumeratorReturns an enumerator that iterates through the Collection<T>.
(Унаследован от Collection<TBase>)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
IndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<T>.
(Унаследован от Collection<TBase>)
InsertInserts an element into the Collection<T> at the specified index.
(Унаследован от Collection<TBase>)
InsertItem
(Переопределяет Collection<T>.InsertItem(Int32, T))
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
RemoveRemoves the first occurrence of a specific object from the Collection<T>.
(Унаследован от Collection<TBase>)
RemoveAtRemoves the element at the specified index of the Collection<T>.
(Унаследован от Collection<TBase>)
RemoveItem
(Переопределяет Collection<T>.RemoveItem(Int32))
SetItem
(Переопределяет Collection<T>.SetItem(Int32, T))
ToStringReturns a string that represents the current object.
(Унаследован от Object)

Методы расширения

Get
(Определяется ComHelper)
InternalMarkerCanvas Возвращает маркер аннотации
(Определяется AnnotationInternalsAccessor)
Invoke
(Определяется ComHelper)
Set
(Определяется ComHelper)

См. также