Is there a way to Poll an IEntryPoint for it's activated status.
I am looking for a more elegant solution than wrapping a try/catch like this:
internal bool IsPluginLoaded(IEntryPoint ep)
{
/
/UGLY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
try
{
AddInController controller = AddInController.GetAddInController(ep);
return true;
}
c
atch (ArgumentException)
{
return false;
}