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
- BuildProviderUtils.cs
- SafeLibraryHandle.cs
- Padding.cs
- AsyncDataRequest.cs
- TextElementEditingBehaviorAttribute.cs
- WinEventHandler.cs
- FormViewDeletedEventArgs.cs
- TraceFilter.cs
- DetailsViewRowCollection.cs
- ADRoleFactoryConfiguration.cs
- RecognizedPhrase.cs
- PseudoWebRequest.cs
- NamespaceEmitter.cs
- ContextQuery.cs
- _CommandStream.cs
- DialogResultConverter.cs
- OleDbRowUpdatedEvent.cs
- ProxyOperationRuntime.cs
- InOutArgumentConverter.cs
- LocationSectionRecord.cs
- SafeEventLogWriteHandle.cs
- ToolStrip.cs
- ThreadStateException.cs
- XmlSchemaSimpleType.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- FileDialog_Vista.cs
- WrapPanel.cs
- ServiceObjectContainer.cs
- DesignColumnCollection.cs
- QueryParameter.cs
- NameTable.cs
- WaitHandle.cs
- MetafileHeader.cs
- RadioButton.cs
- Label.cs
- XmlNamedNodeMap.cs
- TextSelectionProcessor.cs
- Control.cs
- FormCollection.cs
- PipelineModuleStepContainer.cs
- ApplicationException.cs
- CryptoConfig.cs
- FormsAuthenticationCredentials.cs
- OSFeature.cs
- LocatorGroup.cs
- HorizontalAlignConverter.cs
- IteratorDescriptor.cs
- TextEndOfParagraph.cs
- dbenumerator.cs
- EditingScope.cs
- ExpressionBuilder.cs
- TextSelectionHelper.cs
- Cursors.cs
- CacheSection.cs
- ClientRoleProvider.cs
- PolyLineSegment.cs
- DirectionalLight.cs
- CodePrimitiveExpression.cs
- RepeaterItem.cs
- SqlDelegatedTransaction.cs
- DataGridPreparingCellForEditEventArgs.cs
- InkPresenterAutomationPeer.cs
- PathFigureCollectionConverter.cs
- TransformerInfoCollection.cs
- OpCodes.cs
- StorageTypeMapping.cs
- TimeSpanValidatorAttribute.cs
- OneOfElement.cs
- SettingsContext.cs
- XmlChoiceIdentifierAttribute.cs
- DataTemplate.cs
- BasicKeyConstraint.cs
- _SSPISessionCache.cs
- CheckBoxRenderer.cs
- TemplateControlCodeDomTreeGenerator.cs
- XmlNodeChangedEventArgs.cs
- _NestedSingleAsyncResult.cs
- AncillaryOps.cs
- ItemAutomationPeer.cs
- GeometryModel3D.cs
- EntityDesignerUtils.cs
- Debug.cs
- SerializationObjectManager.cs
- TargetException.cs
- TextReader.cs
- ParseElementCollection.cs
- Bezier.cs
- SQLBytes.cs
- CommonXSendMessage.cs
- QueryRewriter.cs
- IDQuery.cs
- SmtpSection.cs
- FontInfo.cs
- SecureUICommand.cs
- EventLogEntryCollection.cs
- FillBehavior.cs
- PrintPreviewGraphics.cs
- InvokeBase.cs
- TextSpan.cs
- BamlBinaryWriter.cs