To anyone that has come across this problem
I had the same problem today. The subscribing method need not be made public. Another (and in my case better) option was:
ea.GetEvent(Of CustomerSelectedEvent).Subscribe(AddressOf Me.test, True)
That second boolean specifies that you wish to keep the subscriber reference alive. This fixed the issue.
Kurren.
I had the same problem today. The subscribing method need not be made public. Another (and in my case better) option was:
ea.GetEvent(Of CustomerSelectedEvent).Subscribe(AddressOf Me.test, True)
That second boolean specifies that you wish to keep the subscriber reference alive. This fixed the issue.
Kurren.