If I have the classic ways to register and unregister events (+= -=), is there also a way to see whether something is registered right now?
Let's say I have 2 methods which can register on one Timer. If something has already registered at .Elapsed
, I do not want anything else to register (and do not want something to register multiple times).
Is there any way to look up which methods are registered at the moment to a specific event?