Search Results for

    Show / Hide Table of Contents
    View Source

    Class EventClearingObservableCollection<TValue>

    Allows clearing all event handlers

    Inheritance
    System.Object
    System.Collections.ObjectModel.Collection<TValue>
    System.Collections.ObjectModel.ObservableCollection<TValue>
    Namespace: Umbraco.Cms.Core.Collections
    Assembly: Umbraco.Core.dll
    Syntax
    public class EventClearingObservableCollection<TValue> : ObservableCollection<TValue>, IList<TValue>, ICollection<TValue>, IReadOnlyList<TValue>, IReadOnlyCollection<TValue>, IEnumerable<TValue>, IList, ICollection, IEnumerable, INotifyPropertyChanged, INotifyCollectionChanged, IDeepCloneable
    Type Parameters
    Name Description
    TValue

    Constructors

    View Source

    EventClearingObservableCollection()

    Declaration
    public EventClearingObservableCollection()
    View Source

    EventClearingObservableCollection(IEnumerable<TValue>)

    Declaration
    public EventClearingObservableCollection(IEnumerable<TValue> collection)
    Parameters
    Type Name Description
    IEnumerable<TValue> collection
    View Source

    EventClearingObservableCollection(List<TValue>)

    Declaration
    public EventClearingObservableCollection(List<TValue> list)
    Parameters
    Type Name Description
    List<TValue> list

    Methods

    View Source

    ClearCollectionChangedEvents()

    Clears all event handlers for the System.Collections.Specialized.INotifyCollectionChanged.CollectionChanged event.

    Declaration
    public void ClearCollectionChangedEvents()
    View Source

    DeepClone()

    Declaration
    public object DeepClone()
    Returns
    Type Description
    System.Object
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • EventClearingObservableCollection()
      • EventClearingObservableCollection(IEnumerable<TValue>)
      • EventClearingObservableCollection(List<TValue>)
    • Methods
      • ClearCollectionChangedEvents()
      • DeepClone()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX