4.6.3 SDK - attempting to access Plugin settings fails
Here is a snippet of my code which is failing.
Code: Select all
var pluginMgr = serviceProvider.GetService<SelectServer>().GetService<IPluginManager>(); // Get the plugin info object of our plugin. This needs to match the "name" given in the SelectPlugin.manifest var pluginName = "MyCompany.MyNamespace.MyPlugin"; var pluginInfo = pluginMgr.Plugins.Where(p => p.Name == pluginName).FirstOrDefault();
I also set a breakpoint and tried using VS’ QuickWatch window to attempt to iterate the collection, but it yielded 0 items.