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
- _AutoWebProxyScriptEngine.cs
- RouteValueExpressionBuilder.cs
- Misc.cs
- LocalBuilder.cs
- DriveInfo.cs
- RecordBuilder.cs
- ChtmlFormAdapter.cs
- ToolZone.cs
- ScrollableControlDesigner.cs
- XmlValidatingReader.cs
- WindowsListView.cs
- AutoGeneratedFieldProperties.cs
- Memoizer.cs
- UnsafeNativeMethods.cs
- ZipIOExtraFieldElement.cs
- PersonalizationProviderCollection.cs
- DataSourceDescriptorCollection.cs
- TabletDeviceInfo.cs
- EventSinkHelperWriter.cs
- Root.cs
- ConfigurationStrings.cs
- PointAnimationUsingKeyFrames.cs
- BooleanConverter.cs
- RectangleHotSpot.cs
- PickBranchDesigner.xaml.cs
- MultiPropertyDescriptorGridEntry.cs
- ActionItem.cs
- Style.cs
- ParameterBinding.cs
- ApplicationDirectory.cs
- BaseParagraph.cs
- DtdParser.cs
- GroupStyle.cs
- ReadOnlyCollection.cs
- LinearKeyFrames.cs
- NumericUpDown.cs
- FixedTextView.cs
- HtmlElementEventArgs.cs
- RichTextBoxAutomationPeer.cs
- PathNode.cs
- DataGridViewAdvancedBorderStyle.cs
- BindingExpression.cs
- XhtmlBasicPageAdapter.cs
- Int32Converter.cs
- SqlIdentifier.cs
- EntityDataSourceColumn.cs
- SectionInput.cs
- ConfigXmlAttribute.cs
- HandlerFactoryWrapper.cs
- GeneralTransform3D.cs
- PeerApplication.cs
- HelloOperationAsyncResult.cs
- CodeTypeDelegate.cs
- XmlIlGenerator.cs
- UnsafeNativeMethods.cs
- ValidatingPropertiesEventArgs.cs
- xamlnodes.cs
- InvalidProgramException.cs
- ApplicationId.cs
- ResourceContainer.cs
- DecoderNLS.cs
- CustomTypeDescriptor.cs
- ObjectDataSourceDisposingEventArgs.cs
- ActiveXSerializer.cs
- GeneratedContractType.cs
- DesignerActionList.cs
- UIServiceHelper.cs
- DesignerWithHeader.cs
- Helpers.cs
- TextOnlyOutput.cs
- KeyFrames.cs
- XmlSchemaSimpleContentRestriction.cs
- StyleTypedPropertyAttribute.cs
- ColorMatrix.cs
- TextContainerChangeEventArgs.cs
- QuaternionAnimationUsingKeyFrames.cs
- InternalDispatchObject.cs
- TabControl.cs
- CacheMode.cs
- WebPartsSection.cs
- RowSpanVector.cs
- CodeTypeDeclaration.cs
- TraceSection.cs
- Misc.cs
- SocketCache.cs
- RelationalExpressions.cs
- WindowsSidIdentity.cs
- WorkflowRuntimeServiceElementCollection.cs
- SafeNativeMethods.cs
- StrongNameIdentityPermission.cs
- MouseButton.cs
- SystemWebSectionGroup.cs
- SystemTcpStatistics.cs
- TableCellsCollectionEditor.cs
- HtmlWindowCollection.cs
- AnnotationHighlightLayer.cs
- ValueChangedEventManager.cs
- OrderPreservingSpoolingTask.cs
- NullableConverter.cs
- TraceSection.cs