I want to monitor the type system, i.e. Psi structure, from my ReSharper 8.2 plugin and react to certain events (new class/class removed, new property/property removed). But I can't seem to find the right trail to follow.
I can read the types, find specific methods and change their code etc. but I still have no clue where to register for some kind of meaningful "change events". It would really need to be "robust", i.e. I can't afford to get "out of sync" with the type system by missing out on an added or removed type(-member).
Any hint would be greatly appreciated! :)