public virtual void OnSwagItemChanged(SwagItemBase swagItem, PropertyChangedEventArgs e) { SwagSetting swagSetting = (SwagSetting)swagItem; PropertyChangedExtendedEventArgs exArgs = (PropertyChangedExtendedEventArgs)e; SwagItemChanged?.Invoke(this, new SwagItemChangedEventArgs() { SwagItem = swagItem, PropertyChangedArgs = e, Message = $"{swagSetting.Path}({exArgs.PropertyName})\n\t{exArgs.OldValue} => {exArgs.NewValue}" }); Parent?.OnSwagItemChanged(swagItem, e); }
private void SwagItem_PropertyChangedExtended(object sender, PropertyChangedExtendedEventArgs e) { Parent?.OnSwagItemChanged(this, e); }