untyped_event
and typed_event
do not work for events that don't derive from EventHandler
or TypedEventHandler
(eg Windows.UI.Xaml.Data.CurrentChangingEventHandler
)
#354
Labels
bug
Something isn't working
untyped_event
andtyped_event
require events that derive fromEventHandler
orTypedEventHandler
respectively. However, there are a fair number of events that do not derive from these classes. For example,PropertyChanged
INotifyPropertyChanged
(which, admittedly, can be implemented via other WIL helpers) andWindows.UI.Xaml.Data.CurrentChangingEventHandler
.We should support
wil::custom_event
for events that use custom handlers/delegates.The text was updated successfully, but these errors were encountered: