Closed dkounal closed 3 years ago
If the same subscriber object is registered twice, one with the old method RegisterSubscriberForEvents, the other with the new RegisterCustomContextSubscriberForEvents, then, UnRegisterForEvents will have problem - because it will remove all registrations, leading to side effects.
The coding style is not consistent with the existing system.
3\. Existing tests passed
You had a good start. I am just quibbling.
I agree with @wxinix points. Most important one is unit tests. I'm going to close it and move on #57 @dkounal do you mind ?
It is OK
Add the possibility to define instance based Context: If a property with Context named "InstanceBased" exists, then with the RegisterCustomContextSubscriberForEvents you can change the context per Object instance that uses this type of Interface-message.