public new void Add(NamedProperty i_Property) { if (i_Property != null) { IObservablePropertySimpleSubscription subscribable = i_Property as IObservablePropertySimpleSubscription; if (subscribable != null) { subscribable.SimpleChangeSubscription += NotifyChange; } } base.Add(i_Property); }
public new bool Remove(NamedProperty i_Property) { bool result = base.Remove(i_Property); if (result) { if (i_Property != null) { IObservablePropertySimpleSubscription subscribable = i_Property as IObservablePropertySimpleSubscription; if (subscribable != null) { subscribable.SimpleChangeSubscription -= NotifyChange; } } } return(result); }