Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / ServiceElementCollection.cs / 1 / ServiceElementCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.Collections; using System.Configuration; using System.Globalization; [ConfigurationCollection(typeof(ServiceElement), AddItemName = ConfigurationStrings.Service)] public sealed class ServiceElementCollection : ServiceModelEnhancedConfigurationElementCollection{ public ServiceElementCollection() : base(ConfigurationStrings.Service) {} protected override Object GetElementKey(ConfigurationElement element) { if (element == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } ServiceElement configElementKey = (ServiceElement) element; return configElementKey.Name; } } } // 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
- TCPClient.cs
- RelatedPropertyManager.cs
- CapabilitiesRule.cs
- BlurEffect.cs
- DataControlPagerLinkButton.cs
- PeerNameRegistration.cs
- LayoutEvent.cs
- DataBoundLiteralControl.cs
- MetadataItemCollectionFactory.cs
- TemplateControlParser.cs
- ThrowHelper.cs
- ThicknessKeyFrameCollection.cs
- ConfigurationException.cs
- FrameworkElementFactoryMarkupObject.cs
- DynamicILGenerator.cs
- DiagnosticsConfigurationHandler.cs
- KeySpline.cs
- GrammarBuilderRuleRef.cs
- FunctionCommandText.cs
- TypeProvider.cs
- PixelShader.cs
- EventQueueState.cs
- AsymmetricAlgorithm.cs
- CompensationParticipant.cs
- RightsManagementPermission.cs
- FrameworkElementAutomationPeer.cs
- DataBoundControlDesigner.cs
- SkewTransform.cs
- HScrollBar.cs
- WhitespaceRuleReader.cs
- TokenFactoryFactory.cs
- ConfigurationPropertyAttribute.cs
- ContextProperty.cs
- NamedPipeConnectionPoolSettings.cs
- DiscardableAttribute.cs
- ConsumerConnectionPoint.cs
- SwitchLevelAttribute.cs
- MetadataSet.cs
- EventDescriptorCollection.cs
- Point3DCollection.cs
- SqlServices.cs
- SvcMapFileLoader.cs
- MessageQueueException.cs
- BadImageFormatException.cs
- SqlTypeConverter.cs
- IdnElement.cs
- ContractMapping.cs
- X509ServiceCertificateAuthentication.cs
- TransformedBitmap.cs
- Transform.cs
- NavigationProgressEventArgs.cs
- ArgumentException.cs
- UnsignedPublishLicense.cs
- Schema.cs
- DnsElement.cs
- RotateTransform3D.cs
- PassportAuthenticationEventArgs.cs
- InitializationEventAttribute.cs
- LockCookie.cs
- ArgumentException.cs
- XPathArrayIterator.cs
- XPathAncestorIterator.cs
- NTAccount.cs
- ProcessModuleCollection.cs
- BuildProviderCollection.cs
- HGlobalSafeHandle.cs
- NativeRecognizer.cs
- IntegerValidator.cs
- XmlIlGenerator.cs
- SoapInteropTypes.cs
- ScriptRegistrationManager.cs
- CommandField.cs
- FixedSOMTable.cs
- Function.cs
- MainMenu.cs
- WrappedOptions.cs
- activationcontext.cs
- IsolatedStorageFilePermission.cs
- DataControlReferenceCollection.cs
- AmbientLight.cs
- StaticSiteMapProvider.cs
- RecognizedPhrase.cs
- InkCanvasSelectionAdorner.cs
- SafeNativeMethods.cs
- SerialReceived.cs
- ColumnTypeConverter.cs
- DictionarySectionHandler.cs
- Label.cs
- PopOutPanel.cs
- CriticalExceptions.cs
- MenuTracker.cs
- TreeViewAutomationPeer.cs
- CorrelationManager.cs
- OverflowException.cs
- exports.cs
- SoapException.cs
- MailAddressCollection.cs
- RayMeshGeometry3DHitTestResult.cs
- SqlFormatter.cs
- DaylightTime.cs