2008-05-25, 12:28 AM
Anyone know is there's a way of determine if an object has already defined an event method?
I've got this in the plugin constructor that is being called twice:
And because I use the IEventNotification the plugin is initialised twice - meaning when i fire the event it fires twice. Anyone know how to check is i've already run the event notification?
I've got this in the plugin constructor that is being called twice:
Code:
MediaLibrary.OnMediaAddEvent += new AddMediaEventHandler(MediaLibrary_OnMediaAddEvent);
And because I use the IEventNotification the plugin is initialised twice - meaning when i fire the event it fires twice. Anyone know how to check is i've already run the event notification?