Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / StandardBindingElementCollection.cs / 1 / StandardBindingElementCollection.cs
//------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
namespace System.ServiceModel.Configuration
{
using System;
using System.ServiceModel.Channels;
using System.Collections;
using System.Configuration;
using System.Globalization;
public sealed class StandardBindingElementCollection : ServiceModelEnhancedConfigurationElementCollection
where TBindingConfiguration : StandardBindingElement, new ()
{
public StandardBindingElementCollection()
: base(ConfigurationStrings.Binding)
{}
protected override Object GetElementKey(ConfigurationElement element)
{
if (element == null)
{
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element");
}
TBindingConfiguration configElementKey = (TBindingConfiguration) element;
return configElementKey.Name;
}
}
}
// 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
- RoutedPropertyChangedEventArgs.cs
- NavigationWindowAutomationPeer.cs
- BufferedReadStream.cs
- UpDownEvent.cs
- SqlDataAdapter.cs
- SqlDependencyListener.cs
- __Filters.cs
- NumericUpDownAccelerationCollection.cs
- ProviderCommandInfoUtils.cs
- AmbientLight.cs
- XmlBindingWorker.cs
- DataDocumentXPathNavigator.cs
- MarkupExtensionSerializer.cs
- StaticDataManager.cs
- _ListenerRequestStream.cs
- AddInToken.cs
- BufferedOutputStream.cs
- FloaterBaseParagraph.cs
- SafeNativeMethods.cs
- TogglePatternIdentifiers.cs
- DependencyObjectPropertyDescriptor.cs
- LinqDataSourceInsertEventArgs.cs
- MemberAssignmentAnalysis.cs
- GPPOINTF.cs
- SqlTrackingWorkflowInstance.cs
- MenuCommand.cs
- Highlights.cs
- InitializationEventAttribute.cs
- CTreeGenerator.cs
- webproxy.cs
- GlobalItem.cs
- FontStyles.cs
- HotSpot.cs
- MissingFieldException.cs
- DesignColumn.cs
- InputScope.cs
- dbenumerator.cs
- SQLMembershipProvider.cs
- TrackBarRenderer.cs
- WorkflowMarkupSerializationException.cs
- ReaderOutput.cs
- FacetValues.cs
- XmlILTrace.cs
- TraceData.cs
- ExtractedStateEntry.cs
- HttpWrapper.cs
- DbDataRecord.cs
- Int64Storage.cs
- ParallelActivityDesigner.cs
- DataGridViewTopLeftHeaderCell.cs
- StringUtil.cs
- CodeSnippetStatement.cs
- DataSourceView.cs
- StickyNote.cs
- LinkGrep.cs
- LogicalTreeHelper.cs
- MULTI_QI.cs
- ZipIOExtraField.cs
- XamlPoint3DCollectionSerializer.cs
- precedingsibling.cs
- ClientSettingsStore.cs
- PermissionRequestEvidence.cs
- DefaultExpressionVisitor.cs
- PopupRoot.cs
- ListBoxAutomationPeer.cs
- SecurityBindingElement.cs
- ToolStripSplitStackLayout.cs
- ParagraphVisual.cs
- Schema.cs
- DBCommandBuilder.cs
- _SslStream.cs
- PngBitmapDecoder.cs
- ProgramNode.cs
- PixelFormats.cs
- FrameworkElementFactory.cs
- _LocalDataStoreMgr.cs
- SqlDataSourceQueryEditor.cs
- Attributes.cs
- TextEncodedRawTextWriter.cs
- RoamingStoreFile.cs
- ComboBox.cs
- _UncName.cs
- AutomationPeer.cs
- ApplicationProxyInternal.cs
- TreeNodeCollection.cs
- XmlSchemaSubstitutionGroup.cs
- GifBitmapDecoder.cs
- _DomainName.cs
- PinnedBufferMemoryStream.cs
- WebUtil.cs
- SQlBooleanStorage.cs
- PrintDialog.cs
- EncryptedKey.cs
- SettingsPropertyValue.cs
- ClientSideQueueItem.cs
- RepeatButton.cs
- GetRecipientRequest.cs
- TrustSection.cs
- CrossSiteScriptingValidation.cs
- SessionStateModule.cs