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
- ImageCreator.cs
- StatusBar.cs
- UInt64Converter.cs
- Guid.cs
- XPathException.cs
- UpWmlPageAdapter.cs
- SqlCachedBuffer.cs
- SqlClientPermission.cs
- MatrixUtil.cs
- TaiwanLunisolarCalendar.cs
- DotAtomReader.cs
- Expressions.cs
- LocalizedNameDescriptionPair.cs
- TableProviderWrapper.cs
- ToolStripTextBox.cs
- DBCommandBuilder.cs
- TimerElapsedEvenArgs.cs
- Shape.cs
- XmlEncodedRawTextWriter.cs
- PickBranchDesigner.xaml.cs
- BitVec.cs
- DBParameter.cs
- ExtentKey.cs
- HwndMouseInputProvider.cs
- FormatConvertedBitmap.cs
- ToolStripDropTargetManager.cs
- smtpconnection.cs
- FilterQueryOptionExpression.cs
- AccessText.cs
- MenuEventArgs.cs
- UnsafeNativeMethods.cs
- ClientTarget.cs
- XmlSchemaDocumentation.cs
- EditorZoneBase.cs
- InvalidOleVariantTypeException.cs
- WindowsGrip.cs
- ReceiveDesigner.xaml.cs
- _TLSstream.cs
- QueryableDataSourceView.cs
- DocumentEventArgs.cs
- RelationshipEndMember.cs
- PeerApplicationLaunchInfo.cs
- LogicalExpr.cs
- PhysicalOps.cs
- XmlAttributeCollection.cs
- OdbcDataAdapter.cs
- XPathNodePointer.cs
- datacache.cs
- SimpleLine.cs
- NativeMethods.cs
- PrincipalPermissionMode.cs
- DataSourceProvider.cs
- PreloadedPackages.cs
- AvtEvent.cs
- DataRowCollection.cs
- CompositeControl.cs
- IndicCharClassifier.cs
- CompileLiteralTextParser.cs
- ExtenderProvidedPropertyAttribute.cs
- NativeMethods.cs
- ProfilePropertyMetadata.cs
- JobInputBins.cs
- DragEvent.cs
- AutoGeneratedFieldProperties.cs
- KeyConstraint.cs
- OrderingInfo.cs
- FactoryRecord.cs
- StoreConnection.cs
- WeakReferenceList.cs
- EncodingNLS.cs
- BoundField.cs
- ButtonChrome.cs
- LocalizabilityAttribute.cs
- NegotiationTokenProvider.cs
- CompleteWizardStep.cs
- CircleHotSpot.cs
- MaterializeFromAtom.cs
- WebPartTransformerCollection.cs
- CommandField.cs
- TimeSpanStorage.cs
- PeerFlooder.cs
- UserInitiatedNavigationPermission.cs
- IResourceProvider.cs
- KeyToListMap.cs
- Form.cs
- DependencyPropertyAttribute.cs
- CoTaskMemHandle.cs
- PropertyChangingEventArgs.cs
- WebPartConnectionsConfigureVerb.cs
- ReflectionUtil.cs
- ReturnType.cs
- DeviceSpecificChoice.cs
- ScriptResourceHandler.cs
- SiblingIterators.cs
- ItemCheckedEvent.cs
- ConnectivityStatus.cs
- Configuration.cs
- CryptoApi.cs
- RsaSecurityToken.cs
- CommentAction.cs