Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / WsdlImporterElementCollection.cs / 1 / WsdlImporterElementCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.ServiceModel.Description; using System.Collections; using System.Configuration; using System.Globalization; using System.ServiceModel; using System.ServiceModel.Configuration; using System.ServiceModel.Channels; [ConfigurationCollection(typeof(WsdlImporterElement), AddItemName = ConfigurationStrings.Extension)] public sealed class WsdlImporterElementCollection : ServiceModelEnhancedConfigurationElementCollection{ public WsdlImporterElementCollection() : base(ConfigurationStrings.Extension) { } protected override Object GetElementKey(ConfigurationElement element) { if (element == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } WsdlImporterElement configElementKey = (WsdlImporterElement)element; return configElementKey.Type; } internal void SetDefaults() { this.Add(new WsdlImporterElement(typeof(DataContractSerializerMessageContractImporter))); this.Add(new WsdlImporterElement(typeof(XmlSerializerMessageContractImporter))); this.Add(new WsdlImporterElement(typeof(MessageEncodingBindingElementImporter))); this.Add(new WsdlImporterElement(typeof(TransportBindingElementImporter))); this.Add(new WsdlImporterElement(typeof(StandardBindingImporter))); } } } // 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
- RijndaelCryptoServiceProvider.cs
- TypeSource.cs
- WebPartVerb.cs
- CalendarSelectionChangedEventArgs.cs
- PropertyRef.cs
- DataGridColumnFloatingHeader.cs
- BitArray.cs
- EntityStoreSchemaGenerator.cs
- ConsoleEntryPoint.cs
- CommandBinding.cs
- DispatcherExceptionEventArgs.cs
- CommonDialog.cs
- XslAst.cs
- XPathArrayIterator.cs
- ReachSerializableProperties.cs
- ConnectionStringsExpressionEditor.cs
- DBDataPermissionAttribute.cs
- Mouse.cs
- WmfPlaceableFileHeader.cs
- DomainConstraint.cs
- RoleManagerModule.cs
- AttributeProviderAttribute.cs
- InvokePatternIdentifiers.cs
- ListViewInsertedEventArgs.cs
- DocumentAutomationPeer.cs
- MsmqReceiveHelper.cs
- ProxyHwnd.cs
- HebrewCalendar.cs
- ReadOnlyDictionary.cs
- HuffmanTree.cs
- IUnknownConstantAttribute.cs
- WebPartUserCapability.cs
- EntryIndex.cs
- PrefixQName.cs
- TargetException.cs
- UIElement.cs
- SchemaMapping.cs
- CreateUserWizardAutoFormat.cs
- QueryStringParameter.cs
- PcmConverter.cs
- ImpersonateTokenRef.cs
- Array.cs
- StackOverflowException.cs
- QueuedDeliveryRequirementsMode.cs
- FixedTextPointer.cs
- sqlser.cs
- RelativeSource.cs
- LoadGrammarCompletedEventArgs.cs
- TraversalRequest.cs
- MetadataCollection.cs
- ConnectionPointConverter.cs
- CheckBoxAutomationPeer.cs
- ProviderConnectionPointCollection.cs
- ProfileGroupSettings.cs
- CalendarData.cs
- TdsValueSetter.cs
- XmlUtf8RawTextWriter.cs
- AnchoredBlock.cs
- Content.cs
- FontInfo.cs
- OutputCacheProfile.cs
- ResourceCategoryAttribute.cs
- Transform3D.cs
- XmlEntityReference.cs
- DataSvcMapFileSerializer.cs
- Rect3D.cs
- ControlType.cs
- RotateTransform3D.cs
- UniqueID.cs
- WSSecurityPolicy12.cs
- ServiceOperationParameter.cs
- PopOutPanel.cs
- WindowsAuthenticationEventArgs.cs
- PropertyItem.cs
- XmlBoundElement.cs
- ACE.cs
- RuntimeConfigurationRecord.cs
- ParallelTimeline.cs
- SingleStorage.cs
- SQLUtility.cs
- ImportCatalogPart.cs
- ValueExpressions.cs
- SmtpNetworkElement.cs
- SharedStatics.cs
- ThumbButtonInfo.cs
- Byte.cs
- GrammarBuilderRuleRef.cs
- CalendarDay.cs
- Stylus.cs
- FixedDocumentPaginator.cs
- HtmlInputReset.cs
- ConfigXmlWhitespace.cs
- ControlIdConverter.cs
- Cursor.cs
- WebControlParameterProxy.cs
- SparseMemoryStream.cs
- MessageSecurityOverTcp.cs
- HGlobalSafeHandle.cs
- HttpProcessUtility.cs
- ServiceModelActivationSectionGroup.cs