protected virtual void RaiseCollectionChanging(NotifyCollectionChangedEventArgs args) { // WPF doesn't seem to care much about Range notifications in this case, // so we'll just pass those right through CollectionChanging?.Invoke(this, args); }
private void OnCollectionChanging(CollectionChangeEventArgs ccevent) { CollectionChanging?.Invoke(this, ccevent); }
/// <summary> /// Raises the <see cref="E:CollectionChanging"/> event. /// </summary> /// <param name="e">The <see cref="CollectionChangingEventArgs"/> instance containing the event data.</param> protected virtual void OnCollectionChanging(CollectionChangingEventArgs e) { CollectionChanging?.Invoke(this, e); }
protected void OnCollectionChanging(NotifyCollectionChangingEventArgs e) { CollectionChanging?.Invoke(this, e); }
private void RaiseCollectionChanging(object sender, NotifyCollectionChangingEventArgs e) { OnCollectionChanging(sender, e); CollectionChanging?.Invoke(this, e); }