Class A (mine) implements event handlers for class B (3rd party). Within these event handlers, I would like to access class A's properties.
Using this in class A's handlers does not work because it references class B's scope.
Global variables seem like the only option. Am I missing a better alternative?
See Question&Answers more detail:os