[This is preliminary documentation and subject to change.]
Called when the collection is about to be changed.
The implementation creates and caches a new CollectionChangeEventArgs instance and dispatches the event by means of calling the PropagateChangingEvent method. The corresponding 'changed' event should be raised by calling the OnCollectionChanged method after the collection's value has been changed. In other word, calls to OnCollectionChanging and OnCollectionChanged method should always be balanced.
The implementation calls the OnCollectionChanging method in the OnInsert, OnRemove and OnClear methods, and the OnCollectionChanged in the corresponding OnInsertComplete, OnRemoveComplete and OnClearComplete methods
ObjectCollectionBase Class | LaMarvin.Constable.Model Namespace