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
- PrivateUnsafeNativeCompoundFileMethods.cs
- OleDbCommand.cs
- UnknownWrapper.cs
- SafeHandles.cs
- ThreadStaticAttribute.cs
- MeshGeometry3D.cs
- COM2Properties.cs
- SQLSingle.cs
- DBCommand.cs
- DigitShape.cs
- WebRequestModulesSection.cs
- Process.cs
- EventLogPropertySelector.cs
- StringSource.cs
- DockingAttribute.cs
- Tablet.cs
- EventSource.cs
- basecomparevalidator.cs
- CodeSnippetTypeMember.cs
- XmlnsDefinitionAttribute.cs
- PrivateFontCollection.cs
- CallContext.cs
- VisualBrush.cs
- DataRelationPropertyDescriptor.cs
- CustomCredentialPolicy.cs
- OperatorExpressions.cs
- TableDetailsRow.cs
- ProxyWebPart.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- ICollection.cs
- Empty.cs
- FrameworkContextData.cs
- ScriptDescriptor.cs
- PassportIdentity.cs
- Splitter.cs
- ByteConverter.cs
- TraceContextEventArgs.cs
- sitestring.cs
- ChannelSinkStacks.cs
- HttpPostServerProtocol.cs
- WebPartConnectionsCancelEventArgs.cs
- PrimitiveDataContract.cs
- ConcurrencyMode.cs
- SerializerProvider.cs
- MethodImplAttribute.cs
- securitymgrsite.cs
- DesignerHelpers.cs
- ListBindingConverter.cs
- DetailsViewDeleteEventArgs.cs
- SetStoryboardSpeedRatio.cs
- ApplicationSecurityInfo.cs
- CodeNamespaceImport.cs
- CharacterMetricsDictionary.cs
- NamespaceEmitter.cs
- ImageCodecInfo.cs
- DbTransaction.cs
- XsltOutput.cs
- ColorContextHelper.cs
- ProxyAttribute.cs
- PrintControllerWithStatusDialog.cs
- xmlfixedPageInfo.cs
- UiaCoreApi.cs
- WebPartZoneCollection.cs
- PerformanceCounterLib.cs
- AnimationClock.cs
- NamespaceDisplay.xaml.cs
- XPathNodePointer.cs
- RegisteredScript.cs
- WebProxyScriptElement.cs
- StrongNameMembershipCondition.cs
- FontUnitConverter.cs
- Border.cs
- PathFigureCollectionConverter.cs
- LZCodec.cs
- XmlSchemaValidator.cs
- PathFigureCollectionValueSerializer.cs
- FileDataSourceCache.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- TaskFileService.cs
- DeclaredTypeValidatorAttribute.cs
- SecurityTokenProvider.cs
- UpdatePanel.cs
- CqlParserHelpers.cs
- ProjectionPathSegment.cs
- Int64AnimationBase.cs
- SourceItem.cs
- ServiceModelExtensionElement.cs
- CatalogZoneDesigner.cs
- RightsManagementInformation.cs
- UnitySerializationHolder.cs
- TreeNodeBinding.cs
- DeviceContexts.cs
- ColumnMapVisitor.cs
- SQLInt64Storage.cs
- HtmlInputReset.cs
- SharedPersonalizationStateInfo.cs
- Composition.cs
- TypeElementCollection.cs
- VisualBasicReference.cs
- MessageTraceRecord.cs