public void Remove(ComponentConfigElement c) { if (BaseIndexOf(c) >= 0) { BaseRemove(c.ID); } }
public void Remove(ComponentConfigElement c) { if (BaseIndexOf(c) >= 0) BaseRemove(c.ID); }
/// <summary> /// Adds a PluginConfigElement to the ConnectionCollection instance. /// </summary> /// <param name="c"></param> public void Add(ComponentConfigElement c) { BaseAdd(c); // Add custom code here. }
/// <summary> /// The index of the specified PluginConfigElement. /// </summary> /// <param name="connection"></param> /// <returns></returns> public int IndexOf(ComponentConfigElement element) { return BaseIndexOf(element); }
/// <summary> /// /// </summary> /// <param name="element"></param> /// <returns></returns> protected override Object GetElementKey(ConfigurationElement element) { ComponentConfigElement componentConfigElement = element as ComponentConfigElement; return(componentConfigElement.ID); }
/// <summary> /// The index of the specified PluginConfigElement. /// </summary> /// <param name="connection"></param> /// <returns></returns> public int IndexOf(ComponentConfigElement element) { return(BaseIndexOf(element)); }