Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / ComContractElementCollection.cs / 1 / ComContractElementCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Collections; using System.Configuration; using System.Globalization; [ConfigurationCollection(typeof(ComContractElement), AddItemName = ConfigurationStrings.ComContract)] public sealed class ComContractElementCollection : ServiceModelEnhancedConfigurationElementCollection{ public ComContractElementCollection() : base(ConfigurationStrings.ComContract) {} protected override bool ThrowOnDuplicate { get {return false; } } protected override Object GetElementKey(ConfigurationElement element) { if (element == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } ComContractElement configElementKey = (ComContractElement) element; return configElementKey.Contract; } } } // 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
- AsymmetricKeyExchangeFormatter.cs
- ListChangedEventArgs.cs
- ResourceContainer.cs
- MailDefinition.cs
- EmitterCache.cs
- SqlParameterizer.cs
- CodeNamespaceImportCollection.cs
- GetParentChain.cs
- LinqDataSourceInsertEventArgs.cs
- GeneralTransform2DTo3D.cs
- TextRunCache.cs
- StringReader.cs
- TagMapInfo.cs
- HostingEnvironmentSection.cs
- LambdaCompiler.Unary.cs
- SiteMapSection.cs
- EmptyStringExpandableObjectConverter.cs
- FormViewRow.cs
- BitmapFrameDecode.cs
- SimpleWorkerRequest.cs
- TickBar.cs
- WorkflowTransactionOptions.cs
- AsmxEndpointPickerExtension.cs
- WebPartMovingEventArgs.cs
- SHA1Managed.cs
- CriticalExceptions.cs
- LayoutUtils.cs
- InteropBitmapSource.cs
- AnchoredBlock.cs
- TrackingMemoryStreamFactory.cs
- Binding.cs
- HuffModule.cs
- TableCellCollection.cs
- XsdCachingReader.cs
- TextWriter.cs
- FlowDocumentReaderAutomationPeer.cs
- Rect.cs
- KnownTypeHelper.cs
- ServicePointManagerElement.cs
- GlyphShapingProperties.cs
- FrameworkReadOnlyPropertyMetadata.cs
- XhtmlBasicTextBoxAdapter.cs
- DynamicRouteExpression.cs
- XmlEnumAttribute.cs
- ManagementOperationWatcher.cs
- UriSection.cs
- ToggleButtonAutomationPeer.cs
- HtmlInputSubmit.cs
- Invariant.cs
- DropShadowBitmapEffect.cs
- coordinator.cs
- SqlTypeSystemProvider.cs
- Polygon.cs
- ObjectHandle.cs
- ResourcesChangeInfo.cs
- ArcSegment.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- RuleSet.cs
- HasCopySemanticsAttribute.cs
- XPSSignatureDefinition.cs
- BufferBuilder.cs
- SmtpAuthenticationManager.cs
- GeometryDrawing.cs
- TextParagraphView.cs
- FunctionImportElement.cs
- CompositeDuplexBindingElement.cs
- HttpResponseHeader.cs
- DataRelation.cs
- Int16Converter.cs
- MultiAsyncResult.cs
- ParagraphVisual.cs
- DbProviderFactory.cs
- WebPartConnectionsCancelVerb.cs
- FileAuthorizationModule.cs
- GroupDescription.cs
- ProtocolsConfigurationHandler.cs
- StreamGeometry.cs
- WebBodyFormatMessageProperty.cs
- StringInfo.cs
- LinkUtilities.cs
- HierarchicalDataSourceControl.cs
- InputBinder.cs
- XmlException.cs
- PostBackTrigger.cs
- DbConnectionHelper.cs
- WebFormDesignerActionService.cs
- EnumValAlphaComparer.cs
- HtmlShimManager.cs
- BitmapCache.cs
- TextRangeProviderWrapper.cs
- TypeDelegator.cs
- MessageEnumerator.cs
- MethodCallTranslator.cs
- SchemaComplexType.cs
- PasswordBox.cs
- XmlSchemaObjectCollection.cs
- ImageFormat.cs
- XmlNavigatorStack.cs
- FileStream.cs
- ClientProtocol.cs