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
- ModelPropertyImpl.cs
- ToolStripLocationCancelEventArgs.cs
- QuestionEventArgs.cs
- CalendarButtonAutomationPeer.cs
- TypeListConverter.cs
- ValidationHelper.cs
- CreateParams.cs
- CodeEventReferenceExpression.cs
- login.cs
- SignatureConfirmationElement.cs
- UnorderedHashRepartitionStream.cs
- QilStrConcatenator.cs
- AQNBuilder.cs
- PriorityBinding.cs
- ClientSponsor.cs
- XmlSchemaProviderAttribute.cs
- GenerateScriptTypeAttribute.cs
- XmlSchemaComplexType.cs
- DirectoryGroupQuery.cs
- SQLMembershipProvider.cs
- Form.cs
- SqlAggregateChecker.cs
- Context.cs
- RequestCacheEntry.cs
- StagingAreaInputItem.cs
- WebReferencesBuildProvider.cs
- TemplateField.cs
- SafeFileMappingHandle.cs
- CodeDelegateInvokeExpression.cs
- DataMisalignedException.cs
- PropertiesTab.cs
- SafeNativeMethods.cs
- UndoManager.cs
- PrintDialog.cs
- IBuiltInEvidence.cs
- SessionParameter.cs
- FamilyMapCollection.cs
- Column.cs
- ValidationResult.cs
- SQLDecimalStorage.cs
- ParameterCollectionEditor.cs
- TextPointerBase.cs
- ListDataBindEventArgs.cs
- FormViewUpdateEventArgs.cs
- WmfPlaceableFileHeader.cs
- HashHelper.cs
- FixedTextContainer.cs
- EffectiveValueEntry.cs
- ComponentRenameEvent.cs
- DataTableNewRowEvent.cs
- TemplateInstanceAttribute.cs
- WebPartEditVerb.cs
- CompiledQuery.cs
- ControlCollection.cs
- GlyphsSerializer.cs
- AssemblyResourceLoader.cs
- VisualStateChangedEventArgs.cs
- StatusBarPanelClickEvent.cs
- PhysicalFontFamily.cs
- StoragePropertyMapping.cs
- GuidelineSet.cs
- WebConvert.cs
- XMLSyntaxException.cs
- FixUp.cs
- DictionarySectionHandler.cs
- HtmlWindowCollection.cs
- NativeMethods.cs
- SynchronizationScope.cs
- WebPartEditorCancelVerb.cs
- IconConverter.cs
- VBCodeProvider.cs
- MemberRelationshipService.cs
- ObservableDictionary.cs
- SqlNodeAnnotations.cs
- SafeFileMapViewHandle.cs
- RemoteWebConfigurationHost.cs
- XMLDiffLoader.cs
- Int32AnimationBase.cs
- CardSpaceShim.cs
- RefExpr.cs
- ZipArchive.cs
- SqlDeflator.cs
- DataGridViewToolTip.cs
- InteropBitmapSource.cs
- SqlDataSourceQueryEditorForm.cs
- ContainerActivationHelper.cs
- RecommendedAsConfigurableAttribute.cs
- DataRowCollection.cs
- RawStylusActions.cs
- InvalidAsynchronousStateException.cs
- CryptoStream.cs
- JsonReaderWriterFactory.cs
- BinaryFormatterWriter.cs
- KnownBoxes.cs
- DocumentOutline.cs
- XmlValueConverter.cs
- QilCloneVisitor.cs
- UsernameTokenFactoryCredential.cs
- ObjectPropertyMapping.cs
- DrawTreeNodeEventArgs.cs