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
- DataProtection.cs
- HScrollProperties.cs
- MLangCodePageEncoding.cs
- SolidColorBrush.cs
- ComplexTypeEmitter.cs
- GraphicsContainer.cs
- GraphicsPathIterator.cs
- DoubleConverter.cs
- Span.cs
- CookieHandler.cs
- BCLDebug.cs
- ComponentDispatcher.cs
- TransformCollection.cs
- InputReport.cs
- ExpandoObject.cs
- ListItemParagraph.cs
- CompiledELinqQueryState.cs
- DataGridState.cs
- SpecialNameAttribute.cs
- TimelineClockCollection.cs
- ScrollContentPresenter.cs
- GridViewCommandEventArgs.cs
- NegatedConstant.cs
- TransportationConfigurationTypeInstallComponent.cs
- ResourceDisplayNameAttribute.cs
- Activator.cs
- DataViewSettingCollection.cs
- CharacterShapingProperties.cs
- XmlWriterTraceListener.cs
- WSTrust.cs
- DeclaredTypeElementCollection.cs
- XmlSerializationReader.cs
- WmfPlaceableFileHeader.cs
- cookiecollection.cs
- XmlText.cs
- ValidationSummary.cs
- MimeAnyImporter.cs
- SelectionPatternIdentifiers.cs
- VirtualizingPanel.cs
- MimeTypePropertyAttribute.cs
- APCustomTypeDescriptor.cs
- TraceLog.cs
- PlanCompiler.cs
- BinaryFormatterSinks.cs
- WebCategoryAttribute.cs
- XamlVector3DCollectionSerializer.cs
- SymbolDocumentGenerator.cs
- SmiTypedGetterSetter.cs
- EntityConnection.cs
- NamespaceEmitter.cs
- GeneralTransformCollection.cs
- TimelineClockCollection.cs
- Win32Native.cs
- RightsManagementPermission.cs
- DataGridCellsPanel.cs
- RtfFormatStack.cs
- FunctionCommandText.cs
- AxisAngleRotation3D.cs
- OdbcReferenceCollection.cs
- MetricEntry.cs
- BitmapMetadataBlob.cs
- StylusCollection.cs
- ColorConvertedBitmap.cs
- FilterQuery.cs
- IteratorDescriptor.cs
- CalendarData.cs
- LocalizableAttribute.cs
- HtmlHead.cs
- KeyInterop.cs
- CheckBoxStandardAdapter.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- EntityViewGenerator.cs
- SymbolType.cs
- TextFormatterContext.cs
- UrlPropertyAttribute.cs
- XamlDesignerSerializationManager.cs
- ColorContext.cs
- CustomAttribute.cs
- EntityViewGenerator.cs
- WorkflowInstanceExtensionProvider.cs
- MessageBox.cs
- Facet.cs
- IdentifierCollection.cs
- __Error.cs
- DragCompletedEventArgs.cs
- WCFServiceClientProxyGenerator.cs
- BamlLocalizableResource.cs
- BasePropertyDescriptor.cs
- SafeNativeMethods.cs
- DataBindingList.cs
- ScaleTransform.cs
- ComplexObject.cs
- ClientSideProviderDescription.cs
- AccessedThroughPropertyAttribute.cs
- FormViewUpdatedEventArgs.cs
- KeyGesture.cs
- RichTextBox.cs
- TableRow.cs
- EntityDataSourceState.cs
- SqlCaseSimplifier.cs