ReadOnlyNotificationCollection<T> - класс

Доступная только для чтения обёртка для коллекции, открыто поддерживающая событие CollectionChanged.

Definition

Пространство имён: Tessa.Platform.Collections
Сборка: Tessa (в Tessa.dll) Версия: 4.0.6
C#
public class ReadOnlyNotificationCollection<T> : ReadOnlyObservableCollection<T>
Inheritance
Object    ReadOnlyCollection<T>    ReadOnlyObservableCollection<T>    ReadOnlyNotificationCollection<T>

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

T
Тип элементов коллекции.

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

ReadOnlyNotificationCollection<T> Создаёт экземпляр класса с указанием коллекции, для которой создаётся доступная только для чтения обёртка.

Свойства

CountGets the number of elements contained in the ReadOnlyCollection<T> instance.
(Унаследован от ReadOnlyCollection<T>)
ItemGets the element at the specified index.
(Унаследован от ReadOnlyCollection<T>)
ItemsReturns the IList<T> that the ReadOnlyCollection<T> wraps.
(Унаследован от ReadOnlyCollection<T>)

Методы

ContainsDetermines whether an element is in the ReadOnlyCollection<T>.
(Унаследован от ReadOnlyCollection<T>)
CopyToCopies the entire ReadOnlyCollection<T> to a compatible one-dimensional Array, starting at the specified index of the target array.
(Унаследован от ReadOnlyCollection<T>)
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 ReadOnlyCollection<T>.
(Унаследован от ReadOnlyCollection<T>)
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 ReadOnlyCollection<T>.
(Унаследован от ReadOnlyCollection<T>)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
OnCollectionChangedRaises the CollectionChanged event using the provided arguments.
(Унаследован от ReadOnlyObservableCollection<T>)
OnPropertyChangedRaises the PropertyChanged event using the provided arguments.
(Унаследован от ReadOnlyObservableCollection<T>)
ToStringReturns a string that represents the current object.
(Унаследован от Object)

События

CollectionChanged Событие, возникающее при изменении коллекции, для которой создана обёртка.
PropertyChangedOccurs when a property value changes.
(Унаследован от ReadOnlyObservableCollection<T>)

См. также