Skip to content

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

@citelao

Description

@citelao

untyped_event and typed_event require events that derive from EventHandler or TypedEventHandler 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) and Windows.UI.Xaml.Data.CurrentChangingEventHandler.

We should support wil::custom_event for events that use custom handlers/delegates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions