Cimbalino.Toolkit.Core by Pedro Lamas

<PackageReference Include="Cimbalino.Toolkit.Core" Version="2.5.2" />

 OptimizedObservableCollection<T>

Optimized version of the ObservableCollection<T> class.
public bool SuppressEvents { get; set; }

Gets or sets a value indicating whether the CollectionChanged events are raised.

Initializes a new instance of the OptimizedObservableCollection<T> class.

Initializes a new instance of the OptimizedObservableCollection<T> class.

public void AddRange(IEnumerable<T> items)

Adds the specified items collection to the current OptimizedObservableCollection<T> instance.

public void ReplaceWith(IEnumerable<T> items)

Replaces the current OptimizedObservableCollection<T> instance items with the ones specified in the items collection, raising a single Reset event.

public void SwitchTo(IEnumerable<T> items)

Switches the current OptimizedObservableCollection<T> instance items with the ones specified in the items collection, raising the minimum required change events.