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
- SqlBuilder.cs
- XLinq.cs
- EqualityComparer.cs
- Model3D.cs
- SortedList.cs
- KeyFrames.cs
- MenuAutomationPeer.cs
- RegisteredDisposeScript.cs
- SerializerProvider.cs
- HashCodeCombiner.cs
- DrawListViewSubItemEventArgs.cs
- ListBox.cs
- _AutoWebProxyScriptHelper.cs
- DetailsViewInsertedEventArgs.cs
- MultiplexingFormatMapping.cs
- LassoHelper.cs
- ParserContext.cs
- Selection.cs
- FtpWebResponse.cs
- EventSetter.cs
- OletxDependentTransaction.cs
- SoundPlayer.cs
- QueryStringHandler.cs
- TimeSpanMinutesConverter.cs
- ResourcePermissionBase.cs
- RowToFieldTransformer.cs
- TdsValueSetter.cs
- HttpResponseHeader.cs
- ListViewEditEventArgs.cs
- Package.cs
- WorkflowMarkupSerializationException.cs
- DocumentViewerHelper.cs
- TableParagraph.cs
- Char.cs
- RowsCopiedEventArgs.cs
- EllipseGeometry.cs
- HwndTarget.cs
- ViewBase.cs
- EdmFunction.cs
- XmlElement.cs
- Thickness.cs
- LostFocusEventManager.cs
- COM2FontConverter.cs
- TrayIconDesigner.cs
- TargetException.cs
- _CacheStreams.cs
- AtlasWeb.Designer.cs
- XamlFigureLengthSerializer.cs
- TextEvent.cs
- DocumentReference.cs
- DataGridSortingEventArgs.cs
- DesignerListAdapter.cs
- ApplyImportsAction.cs
- FontFamilyValueSerializer.cs
- DrawItemEvent.cs
- WorkflowApplication.cs
- ControlBuilder.cs
- XmlComment.cs
- UseAttributeSetsAction.cs
- XPathScanner.cs
- FileReader.cs
- FrugalList.cs
- DrawTreeNodeEventArgs.cs
- CompilerResults.cs
- CodeStatement.cs
- Double.cs
- PermissionListSet.cs
- WorkflowServiceBehavior.cs
- AddInControllerImpl.cs
- DirtyTextRange.cs
- datacache.cs
- GeneratedView.cs
- IdleTimeoutMonitor.cs
- PointHitTestParameters.cs
- SizeAnimationClockResource.cs
- ConsumerConnectionPointCollection.cs
- FilteredAttributeCollection.cs
- ServiceNameElement.cs
- BitArray.cs
- ComEventsHelper.cs
- CopyAttributesAction.cs
- AssemblyUtil.cs
- FloaterParaClient.cs
- DataGridViewRowsAddedEventArgs.cs
- ListSourceHelper.cs
- PkcsUtils.cs
- AppDomain.cs
- PropertyPathConverter.cs
- LoginStatusDesigner.cs
- FunctionUpdateCommand.cs
- CellParaClient.cs
- ExtensionSimplifierMarkupObject.cs
- DataMemberConverter.cs
- UpdateTracker.cs
- LinearKeyFrames.cs
- SoapObjectInfo.cs
- ConfigurationSettings.cs
- dsa.cs
- CheckBoxBaseAdapter.cs
- EmbeddedMailObjectsCollection.cs