/// <summary> /// Removed an instance of <see cref="EnvironmentalOverridesElement"/> from the collection. /// </summary> /// <param name="mergeElement">An instance of <see cref="EnvironmentalOverridesElement"/>.</param> public void Remove(EnvironmentalOverridesElement mergeElement) { if (mergeElement == null) { throw new ArgumentNullException("mergeElement"); } base.BaseRemove(mergeElement.LogicalParentElementPath); }
/// <summary> /// Returns an unique identifier which can be used to identify this <see cref="EnvironmentalOverridesElement"/> instance within its collection. /// </summary> /// <param name="element">The <see cref="EnvironmentalOverridesElement"/> to return an identier for.</param> /// <returns>An <see cref="Object"/> that acts as the key for the specified <see cref="EnvironmentalOverridesElement"/>.</returns> protected override object GetElementKey(ConfigurationElement element) { EnvironmentalOverridesElement environmentNodeMerge = element as EnvironmentalOverridesElement; if (environmentNodeMerge != null) { return(environmentNodeMerge.LogicalParentElementPath); } throw new InvalidOperationException(); }
/// <summary> /// Removed an instance of <see cref="EnvironmentalOverridesElement"/> from the collection. /// </summary> /// <param name="mergeElement">An instance of <see cref="EnvironmentalOverridesElement"/>.</param> public void Remove(EnvironmentalOverridesElement mergeElement) { if (mergeElement == null) throw new ArgumentNullException("mergeElement"); base.BaseRemove(mergeElement.LogicalParentElementPath); }
/// <summary> /// Adds an instance of <see cref="EnvironmentalOverridesElement"/> to the collection. /// </summary> /// <param name="mergeNode">An instance of <see cref="EnvironmentalOverridesElement"/>.</param> public void Add(EnvironmentalOverridesElement mergeNode) { base.BaseAdd(mergeNode); }