/// <summary> /// 从<see cref ="ConfigurationElementCollection"/>中删除指定的<see cref ="InterceptContractElement"/>. /// </summary> /// <param name="contract"><see cref ="InterceptContractElement"/>删除.</param> public void Remove(InterceptContractElement contract) { base.BaseRemove(this.GetElementKey(contract)); }
/// <summary> /// 将指定的<see cref ="InterceptContractElement"/>添加到<see cref ="ConfigurationElementCollection"/>. /// </summary> /// <param name="contract"><see cref="InterceptContractElement"/> 添加.</param> public void Add(InterceptContractElement contract) { base.BaseAdd(contract); }