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
- IPAddressCollection.cs
- DesignerCategoryAttribute.cs
- ParameterElementCollection.cs
- LinqDataSourceView.cs
- ObjectDataSourceDisposingEventArgs.cs
- WebPartConnectionsCloseVerb.cs
- Parameter.cs
- AssemblyAttributesGoHere.cs
- SystemWebCachingSectionGroup.cs
- Expander.cs
- SqlFormatter.cs
- CommentEmitter.cs
- ISFClipboardData.cs
- PointCollection.cs
- CodeNamespaceImportCollection.cs
- FontInfo.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- ImageListUtils.cs
- Oid.cs
- LinqDataSourceView.cs
- CatalogPartChrome.cs
- filewebrequest.cs
- OutputCacheSection.cs
- TableAdapterManagerHelper.cs
- ItemContainerPattern.cs
- cookieexception.cs
- X509IssuerSerialKeyIdentifierClause.cs
- CodeStatementCollection.cs
- DefaultValueAttribute.cs
- GrammarBuilderPhrase.cs
- HttpContextServiceHost.cs
- QilLiteral.cs
- OptionalRstParameters.cs
- HashMembershipCondition.cs
- TripleDES.cs
- DateTimeConstantAttribute.cs
- DataViewSettingCollection.cs
- ObjectItemAttributeAssemblyLoader.cs
- HyperLinkColumn.cs
- FunctionDetailsReader.cs
- CatalogZone.cs
- GetChildSubtree.cs
- RequestSecurityTokenResponse.cs
- DocumentXPathNavigator.cs
- OutputCacheProfileCollection.cs
- adornercollection.cs
- XmlMemberMapping.cs
- ImplicitInputBrush.cs
- basenumberconverter.cs
- CfgArc.cs
- HtmlFormWrapper.cs
- NamedElement.cs
- CompatibleComparer.cs
- BaseTreeIterator.cs
- PathHelper.cs
- UpdateEventArgs.cs
- SubordinateTransaction.cs
- DataGridRow.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- TextTreeRootNode.cs
- DbConnectionPoolGroup.cs
- DefaultValueTypeConverter.cs
- GlyphRunDrawing.cs
- Comparer.cs
- ScrollBarRenderer.cs
- DrawingImage.cs
- Property.cs
- NewItemsContextMenuStrip.cs
- Adorner.cs
- HandlerFactoryCache.cs
- WebBrowserSiteBase.cs
- ClaimTypeRequirement.cs
- DownloadProgressEventArgs.cs
- Quaternion.cs
- CapabilitiesState.cs
- UICuesEvent.cs
- MultipartIdentifier.cs
- DecoderExceptionFallback.cs
- HScrollBar.cs
- ExpressionsCollectionConverter.cs
- SplashScreenNativeMethods.cs
- DCSafeHandle.cs
- FastEncoder.cs
- TextServicesManager.cs
- WorkflowDefinitionDispenser.cs
- _TimerThread.cs
- DeviceContext.cs
- DataGridViewCellFormattingEventArgs.cs
- ProcessExitedException.cs
- XmlNotation.cs
- ExpressionList.cs
- GridViewCellAutomationPeer.cs
- CheckBoxField.cs
- XAMLParseException.cs
- StyleXamlParser.cs
- Viewport3DVisual.cs
- DescendentsWalkerBase.cs
- ListSortDescriptionCollection.cs
- X509CertificateStore.cs
- StackSpiller.Generated.cs