public void DisposeURLs(IXenObject xmo) { foreach (Feature f in Features) { TabPageFeature tabPageFeature = f as TabPageFeature; if (tabPageFeature != null) { tabPageFeature.DisposeURL(xmo); } } }
public void SetSelectedXenObject(IXenObject xenObject) { foreach (PluginDescriptor plugin in Plugins) { foreach (Feature feature in plugin.Features) { TabPageFeature tabPageFeature = feature as TabPageFeature; if (tabPageFeature != null) { tabPageFeature.SelectedXenObject = xenObject; } } } }