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
- TdsParserSafeHandles.cs
- TypeElement.cs
- DataGridViewRowCancelEventArgs.cs
- UpdateProgress.cs
- WorkflowStateRollbackService.cs
- WebPartMenuStyle.cs
- CancellationState.cs
- KeyInstance.cs
- OleDbConnectionFactory.cs
- TableItemStyle.cs
- TraceInternal.cs
- MethodBuilder.cs
- UnitySerializationHolder.cs
- ConnectionPoint.cs
- SystemIPGlobalStatistics.cs
- ReaderOutput.cs
- CheckPair.cs
- RegexTree.cs
- TextServicesLoader.cs
- RegionData.cs
- ToolBarTray.cs
- DiscreteKeyFrames.cs
- Win32.cs
- QilName.cs
- JapaneseCalendar.cs
- BinaryEditor.cs
- RegisteredHiddenField.cs
- SqlTriggerContext.cs
- XpsThumbnail.cs
- TreeViewBindingsEditorForm.cs
- WebBrowserSiteBase.cs
- SafeFreeMibTable.cs
- FlowStep.cs
- PostBackOptions.cs
- XPathDescendantIterator.cs
- FixedElement.cs
- FamilyMapCollection.cs
- DataGridLinkButton.cs
- MapPathBasedVirtualPathProvider.cs
- DbCommandTree.cs
- OleDbError.cs
- PathTooLongException.cs
- ProtocolsSection.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- MergablePropertyAttribute.cs
- ThaiBuddhistCalendar.cs
- UnsafeMethods.cs
- DataGridViewCellLinkedList.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- MatchAttribute.cs
- InvalidComObjectException.cs
- Attributes.cs
- List.cs
- UserMapPath.cs
- WindowsEditBox.cs
- Int32Storage.cs
- AuthStoreRoleProvider.cs
- Cloud.cs
- DbConnectionInternal.cs
- CatalogZone.cs
- FunctionQuery.cs
- DataSourceControlBuilder.cs
- LockedHandleGlyph.cs
- ConfigXmlDocument.cs
- EncryptedType.cs
- Geometry.cs
- PageContent.cs
- SwitchExpression.cs
- TemplateBindingExtension.cs
- TakeQueryOptionExpression.cs
- StateItem.cs
- HeaderCollection.cs
- CapabilitiesState.cs
- ProcessManager.cs
- Thickness.cs
- MergeLocalizationDirectives.cs
- OdbcFactory.cs
- DummyDataSource.cs
- X509CertificateEndpointIdentity.cs
- RoutedEventConverter.cs
- PathSegment.cs
- ParamArrayAttribute.cs
- SerializationTrace.cs
- RequestBringIntoViewEventArgs.cs
- EnumMember.cs
- StylusSystemGestureEventArgs.cs
- Label.cs
- PreDigestedSignedInfo.cs
- WebDescriptionAttribute.cs
- XsltLibrary.cs
- WebPartDescription.cs
- BasicHttpMessageSecurityElement.cs
- XPathExpr.cs
- WebPartMenuStyle.cs
- SelectionListDesigner.cs
- SqlDelegatedTransaction.cs
- Pointer.cs
- XmlDocumentFragment.cs
- ZipFileInfoCollection.cs
- TableParaClient.cs