You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Event would hold a copy of AtspiEvent (instead of EventInterfaces) and the TryFrom implementations are adjusted to convert from Event to respectively: the signified types or the grouped EventInterfaces, we could:
It may be cumbersome, but it is very easily typed and has a good structure.
If you want a way to do this with AtspiEvent, then why not with Cache and Availsble events too? And at that point, what's the use of the enum?
I think a good comprimise would be to have all event variant in Event itself, without splitting them into individual, progressively more specific, enums. Either work well for Odilia.
Currently the event de-structuring looks as such:
If
Event
would hold a copy ofAtspiEvent
(instead ofEventInterfaces
) and theTryFrom
implementations are adjusted to convert fromEvent
to respectively: the signified types or the groupedEventInterfaces
, we could:perhaps have current behaviour as such:
The text was updated successfully, but these errors were encountered: