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
- DataRelationCollection.cs
- SamlAdvice.cs
- DesignSurfaceServiceContainer.cs
- Stack.cs
- PropertyGeneratedEventArgs.cs
- UntrustedRecipientException.cs
- SamlAuthorizationDecisionClaimResource.cs
- SessionStateModule.cs
- TypeConverterHelper.cs
- ResourceSet.cs
- GridViewAutomationPeer.cs
- InfoCardKeyedHashAlgorithm.cs
- EDesignUtil.cs
- UITypeEditors.cs
- WinFormsSecurity.cs
- GridItem.cs
- TextTreeInsertElementUndoUnit.cs
- ClientBase.cs
- WebServiceMethodData.cs
- MouseGestureConverter.cs
- CheckBoxAutomationPeer.cs
- SR.Designer.cs
- CodeCompiler.cs
- SchemaExporter.cs
- ListControl.cs
- CompilerErrorCollection.cs
- ListViewTableCell.cs
- TdsParserHelperClasses.cs
- ComponentResourceManager.cs
- ProcessHost.cs
- Stack.cs
- DetailsView.cs
- SqlBulkCopyColumnMappingCollection.cs
- ListenUriMode.cs
- Classification.cs
- SqlHelper.cs
- DefaultHttpHandler.cs
- ComplusTypeValidator.cs
- PropertyToken.cs
- DateTimeOffset.cs
- SqlDataSourceParameterParser.cs
- PropVariant.cs
- FileFormatException.cs
- OdbcDataAdapter.cs
- TypeResolver.cs
- DateTimeFormatInfo.cs
- WebConfigurationFileMap.cs
- SetMemberBinder.cs
- StorageConditionPropertyMapping.cs
- DataGridViewIntLinkedList.cs
- JumpPath.cs
- CalendarDayButton.cs
- RegistrationProxy.cs
- DbSetClause.cs
- LambdaCompiler.Unary.cs
- loginstatus.cs
- DataServiceException.cs
- DocumentEventArgs.cs
- TemplateBuilder.cs
- HideDisabledControlAdapter.cs
- GridView.cs
- ObjectStateEntry.cs
- _SafeNetHandles.cs
- RootBuilder.cs
- EUCJPEncoding.cs
- OrderPreservingPipeliningSpoolingTask.cs
- SmiContextFactory.cs
- MemoryMappedView.cs
- CodeArrayIndexerExpression.cs
- PenCursorManager.cs
- SimpleTextLine.cs
- AutoCompleteStringCollection.cs
- SqlConnectionString.cs
- TargetConverter.cs
- unsafeIndexingFilterStream.cs
- SelectedCellsChangedEventArgs.cs
- InteropExecutor.cs
- SynchronizedDispatch.cs
- XmlCustomFormatter.cs
- UInt16.cs
- XmlCustomFormatter.cs
- PropertyDescriptorGridEntry.cs
- IndexedString.cs
- WebServiceTypeData.cs
- ToolStripRendererSwitcher.cs
- SafeNativeMethods.cs
- RelatedImageListAttribute.cs
- Int32.cs
- Header.cs
- BasicDesignerLoader.cs
- PlatformCulture.cs
- BamlLocalizer.cs
- QilValidationVisitor.cs
- DrawListViewItemEventArgs.cs
- RSAPKCS1SignatureDeformatter.cs
- Pen.cs
- WindowsStatic.cs
- ProtocolsConfigurationHandler.cs
- XmlSerializerAssemblyAttribute.cs
- _NetRes.cs