EventDescriptor and discovering attached handlers?
Thanks,
Ray
The IEventBindingService helps you do this. See this doc for details: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemcomponentmodeldesignieventbindingserviceclasstopic.asp.
I'm gussing that CodeDomSerializer.SerializeEvents() uses the object and EventDescriptor parameters to key some internal structure to obtain a list of the event handlers to serialize.
- Ray