BWJ.Collections.ObservableCollectionPlus
2.0.0
dotnet add package BWJ.Collections.ObservableCollectionPlus --version 2.0.0
NuGet\Install-Package BWJ.Collections.ObservableCollectionPlus -Version 2.0.0
<PackageReference Include="BWJ.Collections.ObservableCollectionPlus" Version="2.0.0" />
paket add BWJ.Collections.ObservableCollectionPlus --version 2.0.0
#r "nuget: BWJ.Collections.ObservableCollectionPlus, 2.0.0"
// Install BWJ.Collections.ObservableCollectionPlus as a Cake Addin #addin nuget:?package=BWJ.Collections.ObservableCollectionPlus&version=2.0.0 // Install BWJ.Collections.ObservableCollectionPlus as a Cake Tool #tool nuget:?package=BWJ.Collections.ObservableCollectionPlus&version=2.0.0
ObservableCollectionPlus
A flexible, highly-performant Collection implementing INotifyPropertyChanged and INotifyCollectionChanged with a few nice features:
- Automatically configures itself to detect changes to Item properties when the Item implements INotifyPropertyChanged, providing feedback via its ItemPropertyChangedEvent
- Replace one set of items with another set, optionally raising only one event when this occurs
- Ability to suspend or resume raising property or collection change events at any time
- In addition to a generic CollectionChanged event which is raised when the collection changes in any way, subscribe to a specific collection change event via the CollectionReset, ItemInserted, ItemMoved, ItemReplaced, and ItemRemoved events
Exhaustive documentation is available on GitHub
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
.NETFramework 4.5
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Changes in version 2.0.0:
Removed 'change responder' properties - actions invoked when a specific type of collection change occurs;
Introduced public virtual CollectionReset, ItemInserted, ItemMoved, ItemReplaced, and ItemRemoved events to allow subscribing to a specific type of collection change. These events are not raised while change notification is suspended
The delegate signature for the ItemPropertyChanged event has changed; event arguments parameter is now of type ItemPropertyEventArgs (derived from PropertyEventArgs), which has the property Item (object). Item is the specific item in the collection having the property that caused the event to be raised;
Removed ObservableCollectionPlusOptions.DisallowChangeResponders, since change responders are no longer used