Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / BaseAddressPrefixFilterElementCollection.cs / 1 / BaseAddressPrefixFilterElementCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.Collections.Generic; using System.Text; using System.Configuration; [ConfigurationCollection(typeof(BaseAddressPrefixFilterElement))] public sealed class BaseAddressPrefixFilterElementCollection : ServiceModelConfigurationElementCollection{ public BaseAddressPrefixFilterElementCollection() : base(ConfigurationElementCollectionType.AddRemoveClearMap, ConfigurationStrings.Add) { } protected override ConfigurationElement CreateNewElement() { return new BaseAddressPrefixFilterElement(); } protected override Object GetElementKey(ConfigurationElement element) { if (element == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } BaseAddressPrefixFilterElement configElementKey = (BaseAddressPrefixFilterElement)element; return configElementKey.Prefix; } protected override bool ThrowOnDuplicate { get { return true; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ColorConvertedBitmap.cs
- HtmlElementEventArgs.cs
- AssertValidation.cs
- NullRuntimeConfig.cs
- MouseGestureConverter.cs
- AtomicFile.cs
- PageParserFilter.cs
- SHA384.cs
- EmptyReadOnlyDictionaryInternal.cs
- Matrix3D.cs
- Tuple.cs
- NamedObject.cs
- XsltSettings.cs
- UserControlParser.cs
- EnumConverter.cs
- DataColumnPropertyDescriptor.cs
- DataGridViewRowConverter.cs
- Type.cs
- ChtmlPhoneCallAdapter.cs
- InvalidDataContractException.cs
- ItemsPanelTemplate.cs
- VirtualPathProvider.cs
- AncillaryOps.cs
- ReferencedType.cs
- CompleteWizardStep.cs
- MasterPage.cs
- InstanceContextMode.cs
- SizeF.cs
- ValidatorCompatibilityHelper.cs
- AgileSafeNativeMemoryHandle.cs
- DbDataAdapter.cs
- ApplicationActivator.cs
- DataGridViewColumn.cs
- returneventsaver.cs
- OdbcEnvironment.cs
- HeaderedContentControl.cs
- CompareInfo.cs
- PerformanceCounterPermission.cs
- ContextProperty.cs
- XmlSchemaImport.cs
- XComponentModel.cs
- TimeIntervalCollection.cs
- ConfigUtil.cs
- OleDbParameter.cs
- DatagridviewDisplayedBandsData.cs
- X509RawDataKeyIdentifierClause.cs
- Select.cs
- NotifyIcon.cs
- TableDetailsRow.cs
- StaticExtensionConverter.cs
- SimpleTypeResolver.cs
- CompositeTypefaceMetrics.cs
- FontSource.cs
- ProbeDuplexCD1AsyncResult.cs
- DbConnectionStringCommon.cs
- CustomPopupPlacement.cs
- WebEventCodes.cs
- FileUtil.cs
- WindowsListViewItemCheckBox.cs
- DetailsViewDesigner.cs
- WindowsListViewItem.cs
- NavigationWindowAutomationPeer.cs
- ViewEvent.cs
- IndexerNameAttribute.cs
- ISO2022Encoding.cs
- SerialStream.cs
- EventLogEntryCollection.cs
- OutputCacheEntry.cs
- KeyboardNavigation.cs
- RelatedEnd.cs
- InProcStateClientManager.cs
- InputScope.cs
- RadioButton.cs
- ScrollableControl.cs
- DynamicResourceExtension.cs
- ReliableOutputSessionChannel.cs
- WpfGeneratedKnownTypes.cs
- Aes.cs
- VariableBinder.cs
- RequestTimeoutManager.cs
- TwoPhaseCommit.cs
- _BufferOffsetSize.cs
- CalculatedColumn.cs
- WorkflowInlining.cs
- EditorAttribute.cs
- WsdlParser.cs
- WpfGeneratedKnownTypes.cs
- WinEventWrap.cs
- SQLDecimal.cs
- DataPointer.cs
- AmbiguousMatchException.cs
- IssuedTokenServiceElement.cs
- SerialReceived.cs
- CodePageUtils.cs
- OleDbWrapper.cs
- HttpCacheParams.cs
- SignatureHelper.cs
- Asn1IntegerConverter.cs
- DigitalSignatureProvider.cs
- SiteMapHierarchicalDataSourceView.cs