public Notifiable(IModelElement element) { this.element = element; this.successors = new MultiSuccessorList(); this.metadata = new ExecutionMetaData(); element.BubbledChange += Element_BubbledChange; }
public Notifiable(IModelElement element) { this.element = element; this.successors = new MultiSuccessorList(); this.metadata = new ExecutionMetaData(); this.notification = CollectionChangedNotificationResult <IModelElement> .Create(this, false); element.BubbledChange += Element_BubbledChange; }
public Notifiable(IModelElement element) { this.element = element; this.successors = new MultiSuccessorList(); this.metadata = new ExecutionMetaData(); this.notification = CollectionChangedNotificationResult <IModelElement> .Create(this, false); element.ParentChanged += Ancestor_ParentChanged; foreach (var ancestor in this) { ancestor.ParentChanged += Ancestor_ParentChanged; } }