Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / BaseAddressElementCollection.cs / 1 / BaseAddressElementCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Configuration; [ConfigurationCollection(typeof(BaseAddressElement), CollectionType = ConfigurationElementCollectionType.BasicMap)] public sealed partial class BaseAddressElementCollection : ServiceModelConfigurationElementCollection{ public BaseAddressElementCollection() : base(ConfigurationElementCollectionType.BasicMap, ConfigurationStrings.Add) {} protected override ConfigurationElement CreateNewElement() { return new BaseAddressElement(); } protected override object GetElementKey(ConfigurationElement element) { if (element == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } BaseAddressElement configElementKey = (BaseAddressElement)element; return configElementKey.BaseAddress; } 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
- HierarchicalDataBoundControl.cs
- SqlXml.cs
- FaultPropagationQuery.cs
- ComponentDispatcherThread.cs
- ZipIOExtraFieldPaddingElement.cs
- Decorator.cs
- _RequestCacheProtocol.cs
- AffineTransform3D.cs
- TaskFormBase.cs
- SerializationFieldInfo.cs
- DoubleUtil.cs
- DocumentXPathNavigator.cs
- MatrixCamera.cs
- TargetParameterCountException.cs
- ThousandthOfEmRealDoubles.cs
- Span.cs
- WindowsRegion.cs
- SystemUnicastIPAddressInformation.cs
- SafeReversePInvokeHandle.cs
- SqlFactory.cs
- WindowsContainer.cs
- TemplateParser.cs
- CollectionViewSource.cs
- BitHelper.cs
- CommonObjectSecurity.cs
- CharAnimationBase.cs
- Evaluator.cs
- DateTimeConstantAttribute.cs
- MatrixAnimationUsingPath.cs
- PropertyPushdownHelper.cs
- SqlBulkCopyColumnMappingCollection.cs
- CounterCreationDataConverter.cs
- FontConverter.cs
- StringReader.cs
- IgnoreDeviceFilterElement.cs
- RemoteHelper.cs
- HwndAppCommandInputProvider.cs
- PropertyChangedEventManager.cs
- DesignerSelectionListAdapter.cs
- Psha1DerivedKeyGeneratorHelper.cs
- WindowsToolbarItemAsMenuItem.cs
- PrinterUnitConvert.cs
- SmiMetaDataProperty.cs
- FreezableOperations.cs
- CommandEventArgs.cs
- HtmlInputPassword.cs
- SqlMultiplexer.cs
- ClientEventManager.cs
- OrderedDictionaryStateHelper.cs
- AtomMaterializerLog.cs
- DebugHandleTracker.cs
- RadioButtonBaseAdapter.cs
- XmlIlGenerator.cs
- AutomationEvent.cs
- DrawingServices.cs
- OAVariantLib.cs
- PrintPreviewControl.cs
- DbDataRecord.cs
- X509SecurityTokenProvider.cs
- DoubleAnimation.cs
- FormatControl.cs
- Graphics.cs
- SessionSwitchEventArgs.cs
- StringCollectionEditor.cs
- HttpProcessUtility.cs
- ListBindableAttribute.cs
- EmptyEnumerable.cs
- PathParser.cs
- Double.cs
- Query.cs
- Cursor.cs
- ReceiveMessageContent.cs
- DisplayClaim.cs
- ConstructorNeedsTagAttribute.cs
- DateTimeStorage.cs
- CrossContextChannel.cs
- SqlExpander.cs
- DesignTimeTemplateParser.cs
- NamespaceEmitter.cs
- SocketInformation.cs
- TextServicesManager.cs
- SafeThemeHandle.cs
- QueryPageSettingsEventArgs.cs
- InvalidPrinterException.cs
- ScriptHandlerFactory.cs
- CacheChildrenQuery.cs
- IconBitmapDecoder.cs
- EmptyCollection.cs
- GPRECT.cs
- PrinterSettings.cs
- LayoutSettings.cs
- ProbeMatchesMessageCD1.cs
- Page.cs
- mda.cs
- OpCodes.cs
- TabControl.cs
- XmlSiteMapProvider.cs
- GroupItemAutomationPeer.cs
- ConnectionPoint.cs
- UserControl.cs