Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events are not wired through the target object if they are on a base type #340

Closed
AArnott opened this issue Sep 18, 2019 · 0 comments · Fixed by #341
Closed

Events are not wired through the target object if they are on a base type #340

AArnott opened this issue Sep 18, 2019 · 0 comments · Fixed by #341
Assignees
Labels
Milestone

Comments

@AArnott
Copy link
Member

AArnott commented Sep 18, 2019

The code that enumerates events on the target object in order to wire them up to the remote as notifications only looks at events directly declared on the leaf type rather than finding all on the type hierarchy:

foreach (var evt in target.GetType().GetTypeInfo().DeclaredEvents)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant