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
- ArglessEventHandlerProxy.cs
- QuaternionRotation3D.cs
- DynamicMethod.cs
- FamilyMapCollection.cs
- XmlWrappingReader.cs
- RuleAttributes.cs
- ApplicationGesture.cs
- DataGridViewLinkCell.cs
- ArraySubsetEnumerator.cs
- Logging.cs
- Expander.cs
- DebugView.cs
- TableCellCollection.cs
- LateBoundChannelParameterCollection.cs
- WorkflowPrinting.cs
- XmlAnyAttributeAttribute.cs
- ArraySubsetEnumerator.cs
- OdbcCommand.cs
- ObjectCacheHost.cs
- ListBoxItemAutomationPeer.cs
- SessionEndingCancelEventArgs.cs
- ProfileParameter.cs
- PropertyManager.cs
- XmlToDatasetMap.cs
- PrtTicket_Base.cs
- DataViewManagerListItemTypeDescriptor.cs
- DesignerActionVerbItem.cs
- ButtonRenderer.cs
- SafeSecurityHandles.cs
- ApplicationSettingsBase.cs
- StoreAnnotationsMap.cs
- RoleManagerModule.cs
- SafeUserTokenHandle.cs
- FixedBufferAttribute.cs
- ItemList.cs
- RotateTransform3D.cs
- AssemblyBuilderData.cs
- FaultConverter.cs
- DeploymentSectionCache.cs
- XPathSelfQuery.cs
- SuppressMessageAttribute.cs
- FragmentQueryProcessor.cs
- MobilePage.cs
- XmlSchemaGroupRef.cs
- RadioButtonList.cs
- TextPenaltyModule.cs
- OptimalBreakSession.cs
- DataColumnPropertyDescriptor.cs
- CharAnimationUsingKeyFrames.cs
- RowVisual.cs
- RowsCopiedEventArgs.cs
- SmtpSection.cs
- SchemaCollectionCompiler.cs
- Source.cs
- PreloadedPackages.cs
- TemplateComponentConnector.cs
- TextWriterEngine.cs
- DrawingState.cs
- XpsS0ValidatingLoader.cs
- DBCSCodePageEncoding.cs
- Sql8ConformanceChecker.cs
- TypefaceMetricsCache.cs
- RemotingServices.cs
- XmlQueryRuntime.cs
- MethodCallTranslator.cs
- PenLineJoinValidation.cs
- CacheForPrimitiveTypes.cs
- SqlBuilder.cs
- MemberJoinTreeNode.cs
- WebPageTraceListener.cs
- PropertyGrid.cs
- Object.cs
- EnvelopedPkcs7.cs
- BindingCollection.cs
- DataGridViewCellValueEventArgs.cs
- DocumentPage.cs
- FormsIdentity.cs
- ProcessModuleCollection.cs
- SettingsSection.cs
- ItemDragEvent.cs
- XmlUtil.cs
- KeyPullup.cs
- PropertyChangedEventArgs.cs
- DynamicPropertyHolder.cs
- ReflectEventDescriptor.cs
- CatchBlock.cs
- KeyedQueue.cs
- HttpModuleAction.cs
- Certificate.cs
- RsaSecurityKey.cs
- PropertyValueChangedEvent.cs
- XMLDiffLoader.cs
- CheckBox.cs
- Rule.cs
- DataGridViewToolTip.cs
- WebException.cs
- EndpointDiscoveryMetadata11.cs
- GenericEnumerator.cs
- ReachNamespaceInfo.cs
- CacheDependency.cs