Class EventClearingObservableCollection<TValue>
Allows clearing all event handlers
Inheritance
System.Object
System.Collections.ObjectModel.Collection<TValue>
System.Collections.ObjectModel.ObservableCollection<TValue>
Namespace: Umbraco.Core.Collections
Assembly: Umbraco.Core.dll
Syntax
public class EventClearingObservableCollection<TValue> : ObservableCollection<TValue>, IList<TValue>, ICollection<TValue>, IList, ICollection, IReadOnlyList<TValue>, IReadOnlyCollection<TValue>, IEnumerable<TValue>, IEnumerable, INotifyPropertyChanged, INotifyCollectionChanged
Type Parameters
Name | Description |
---|---|
TValue |
Constructors
View SourceEventClearingObservableCollection()
Declaration
public EventClearingObservableCollection()
EventClearingObservableCollection(IEnumerable<TValue>)
Declaration
public EventClearingObservableCollection(IEnumerable<TValue> collection)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<TValue> | collection |
EventClearingObservableCollection(List<TValue>)
Declaration
public EventClearingObservableCollection(List<TValue> list)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<TValue> | list |
Methods
View SourceClearCollectionChangedEvents()
Clears all event handlers for the
Declaration
public void ClearCollectionChangedEvents()