Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / ChannelEndpointElementCollection.cs / 1 / ChannelEndpointElementCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System; using System.Collections; using System.Configuration; using System.Globalization; [ConfigurationCollection(typeof(ChannelEndpointElement), AddItemName = ConfigurationStrings.Endpoint)] public sealed class ChannelEndpointElementCollection : ServiceModelEnhancedConfigurationElementCollection{ public ChannelEndpointElementCollection() : base(ConfigurationStrings.Endpoint) {} protected override Object GetElementKey(ConfigurationElement element) { if (element == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } ChannelEndpointElement configElementKey = (ChannelEndpointElement) element; return string.Format(CultureInfo.InvariantCulture, "contractType:{0};name:{1}", configElementKey.Contract, 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
- StateBag.cs
- SqlConnectionStringBuilder.cs
- Comparer.cs
- OutputCache.cs
- DataListItem.cs
- BooleanFacetDescriptionElement.cs
- ServerType.cs
- ZipIOLocalFileHeader.cs
- WpfWebRequestHelper.cs
- MethodBody.cs
- WindowsHyperlink.cs
- NumberFormatter.cs
- FormatterConverter.cs
- TripleDES.cs
- OrCondition.cs
- MimeObjectFactory.cs
- DbSourceCommand.cs
- AppSettingsReader.cs
- Stroke.cs
- XmlResolver.cs
- DateTime.cs
- Process.cs
- Attribute.cs
- ChannelBinding.cs
- XmlLinkedNode.cs
- DataBindingCollection.cs
- UriScheme.cs
- PagesSection.cs
- ReachDocumentPageSerializer.cs
- XslAstAnalyzer.cs
- Camera.cs
- RenderDataDrawingContext.cs
- ModifierKeysValueSerializer.cs
- TraceContext.cs
- WhitespaceSignificantCollectionAttribute.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ProviderConnectionPoint.cs
- ValidateNames.cs
- FixedSOMLineRanges.cs
- InterleavedZipPartStream.cs
- UnsafeNetInfoNativeMethods.cs
- Bezier.cs
- RoutedEvent.cs
- DataGridViewRowCollection.cs
- CreateUserWizardStep.cs
- PerformanceCounterManager.cs
- WorkflowInstance.cs
- ZipFileInfoCollection.cs
- BindValidationContext.cs
- XmlSchemaImporter.cs
- RelationshipDetailsRow.cs
- DocumentViewerBase.cs
- PropertyPath.cs
- OdbcDataReader.cs
- TraceSource.cs
- AssociationSetMetadata.cs
- IndependentAnimationStorage.cs
- CheckBoxFlatAdapter.cs
- Repeater.cs
- ScrollChrome.cs
- NeutralResourcesLanguageAttribute.cs
- _Rfc2616CacheValidators.cs
- _HeaderInfo.cs
- ObjectManager.cs
- UrlMappingsSection.cs
- NumberFormatter.cs
- XmlImplementation.cs
- ResourceDescriptionAttribute.cs
- _WebProxyDataBuilder.cs
- UnknownWrapper.cs
- InstanceCreationEditor.cs
- SystemKeyConverter.cs
- TlsSspiNegotiation.cs
- TokenDescriptor.cs
- BamlLocalizer.cs
- ZipIOBlockManager.cs
- PlatformNotSupportedException.cs
- Substitution.cs
- DefaultShape.cs
- UnauthorizedWebPart.cs
- Win32.cs
- BevelBitmapEffect.cs
- RuleProcessor.cs
- DesignerForm.cs
- PartialTrustHelpers.cs
- ProxyElement.cs
- PropertyEmitterBase.cs
- SrgsRuleRef.cs
- Bidi.cs
- TextTreeUndo.cs
- MeshGeometry3D.cs
- ConnectionPoint.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- DetailsViewModeEventArgs.cs
- CorrelationValidator.cs
- WCFModelStrings.Designer.cs
- DataMisalignedException.cs
- FileVersionInfo.cs
- OpenTypeMethods.cs
- ObjectDataSourceStatusEventArgs.cs