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
- IndicShape.cs
- TextTabProperties.cs
- WinFormsComponentEditor.cs
- ActiveXContainer.cs
- OdbcReferenceCollection.cs
- SoapCodeExporter.cs
- SHA1CryptoServiceProvider.cs
- MediaCommands.cs
- ErrorWrapper.cs
- SqlCacheDependencySection.cs
- WindowsProgressbar.cs
- DataColumnMappingCollection.cs
- CompiledIdentityConstraint.cs
- XmlDataSourceNodeDescriptor.cs
- AttributeCollection.cs
- WindowsMenu.cs
- XPathMultyIterator.cs
- MultipartIdentifier.cs
- FileLogRecord.cs
- Internal.cs
- UnsafeMethods.cs
- IriParsingElement.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- AnnotationDocumentPaginator.cs
- IncomingWebRequestContext.cs
- StatusBarDrawItemEvent.cs
- QueryUtil.cs
- webproxy.cs
- MimePart.cs
- Operator.cs
- CustomAttribute.cs
- ClientTargetCollection.cs
- ActiveXHost.cs
- PeerApplicationLaunchInfo.cs
- ButtonChrome.cs
- Random.cs
- EntitySqlQueryState.cs
- ConditionCollection.cs
- VisualStateGroup.cs
- SoapTypeAttribute.cs
- _LoggingObject.cs
- CompletedAsyncResult.cs
- Transform3D.cs
- DataMemberFieldEditor.cs
- ArcSegment.cs
- SoapSchemaImporter.cs
- ModifiableIteratorCollection.cs
- ToolStripDesigner.cs
- PersonalizationAdministration.cs
- ErrorHandler.cs
- ArrayConverter.cs
- LongTypeConverter.cs
- OperationDescriptionCollection.cs
- WindowsFormsSynchronizationContext.cs
- BeginStoryboard.cs
- ObjectToken.cs
- EdmMember.cs
- PreProcessor.cs
- DbConnectionClosed.cs
- Int64Storage.cs
- DataTableMapping.cs
- LexicalChunk.cs
- CustomAssemblyResolver.cs
- DrawingBrush.cs
- DtdParser.cs
- BitmapMetadataEnumerator.cs
- DataBindingValueUIHandler.cs
- Process.cs
- SudsCommon.cs
- BufferAllocator.cs
- InternalBufferOverflowException.cs
- TreeNode.cs
- WebBodyFormatMessageProperty.cs
- SubpageParagraph.cs
- CurrentChangingEventArgs.cs
- ManifestSignatureInformation.cs
- PrintPreviewControl.cs
- PreservationFileWriter.cs
- GotoExpression.cs
- SqlSupersetValidator.cs
- ConnectionInterfaceCollection.cs
- XmlAttributeCollection.cs
- XmlSignatureManifest.cs
- ListenerElementsCollection.cs
- WebPartConnectionsConnectVerb.cs
- SqlDataSourceFilteringEventArgs.cs
- DataGridViewRowPostPaintEventArgs.cs
- HandleCollector.cs
- CheckBoxList.cs
- ToolStripItemRenderEventArgs.cs
- Nodes.cs
- RegistryDataKey.cs
- mediaeventshelper.cs
- BaseCAMarshaler.cs
- StorageFunctionMapping.cs
- CodeArrayIndexerExpression.cs
- RowToParametersTransformer.cs
- PageFunction.cs
- AccessedThroughPropertyAttribute.cs
- UrlEncodedParameterWriter.cs