/// <summary> /// Gets the element key from the element. /// </summary> /// <param name="element">Element to retrieve key from.</param> /// <returns>The key.</returns> protected override object GetElementKey(ConfigurationElement element) { ParameterTypeElement paramTypeAttribute = element as ParameterTypeElement; if (paramTypeAttribute != null) { return(paramTypeAttribute.Name); } throw new InvalidOperationException(); }
/// <summary> /// Adds a <see cref="ParameterTypeElement"/> to the collection. /// </summary> /// <param name="parameterTypeElement">The element to add.</param> public void Add(ParameterTypeElement parameterTypeElement) { base.BaseAdd(parameterTypeElement, true); }
/// <summary> /// Adds a <see cref="ParameterTypeElement"/> to the collection. /// </summary> /// <param name="parameterTypeElement">The element to add.</param> public void Add(ParameterTypeElement parameterTypeElement) { base.BaseAdd(parameterTypeElement, true); }