/// <summary> /// Raises the Bubbled Change event for the given upcoming collection change /// </summary> /// <param name="propertyName">The name of the property that has changed</param> /// <param name="e">The event data</param> protected void OnCollectionChanging(string propertyName, NotifyCollectionChangingEventArgs e, Lazy <ITypedElement> feature = null) { if (!IsFlagSet(ModelElementFlag.Deleting)) { OnBubbledChange(BubbledChangeEventArgs.CollectionChanging(this, propertyName, e, IsFlagSet(ModelElementFlag.RequireUris), feature)); } }
/// <summary> /// Raises the Bubbled Change event for the given upcoming collection change /// </summary> /// <param name="propertyName">The name of the property that has changed</param> /// <param name="e">The event data</param> protected void OnCollectionChanging(string propertyName, NotifyCollectionChangingEventArgs e) { if (!IsFlagSet(ModelElementFlag.Deleting)) { OnBubbledChange(BubbledChangeEventArgs.CollectionChanging(this, propertyName, e, IsFlagSet(ModelElementFlag.RequireUris))); } }