Notify.PropertyChangedEventArgs deprecated, extends System.ComponentModel.PropertyChangedEventArgs
This is a breaking change for mods that use INotifableHost directly because the only way I can think to make the PropertyChangedEventHandler delegate work is to new it in the interface and have BSML check if it's an INotifiableHost to use that event delegate instead of INotifyPropertyChanged which seems....gross(This does not work, classes that implement INotifiableHost would have to explicitly implement System.ComponentModel.INotifyPropertyChanged). If this next update is a big one, it seems like a good time to put this in. Any mods this change does break will just have to be recompiled and possibly add the System.ComponentModel namespace.
This change will allow host objects from assemblies that don't reference BSML to be used with the NotifyUpdater features.
Changed BSML's
INotifiableHost
to use the standardINotifyPropertyChanged
interface.INotifiableHost
deprecated, implementsINotifyPropertyChanged
Notify.PropertyChangedEventArgs
deprecated, extendsSystem.ComponentModel.PropertyChangedEventArgs
This is a breaking change for mods that useINotifableHost
directly because the only way I can think to make thePropertyChangedEventHandler
delegatework is to(This does not work, classes that implementnew
it in the interface and have BSML check if it's anINotifiableHost
to use that event delegate instead ofINotifyPropertyChanged
which seems....grossINotifiableHost
would have to explicitly implementSystem.ComponentModel.INotifyPropertyChanged
). If this next update is a big one, it seems like a good time to put this in. Any mods this change does break will just have to be recompiled and possibly add theSystem.ComponentModel
namespace.This change will allow
host
objects from assemblies that don't reference BSML to be used with the NotifyUpdater features.