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
- Codec.cs
- CatalogZoneBase.cs
- VariableAction.cs
- CodePageEncoding.cs
- RawStylusActions.cs
- _DisconnectOverlappedAsyncResult.cs
- UnsafeNativeMethods.cs
- StickyNoteContentControl.cs
- ActiveDocumentEvent.cs
- UnrecognizedPolicyAssertionElement.cs
- FixedSOMElement.cs
- Helper.cs
- HttpClientProtocol.cs
- SequenceNumber.cs
- ProxyFragment.cs
- TextEditorContextMenu.cs
- MetadataItemEmitter.cs
- ClientScriptManager.cs
- ThreadSafeList.cs
- CurrencyManager.cs
- DataStreamFromComStream.cs
- UnsafeNativeMethodsTablet.cs
- HttpRawResponse.cs
- SystemWebCachingSectionGroup.cs
- DataRowComparer.cs
- XmlHierarchicalDataSourceView.cs
- OletxVolatileEnlistment.cs
- _StreamFramer.cs
- MissingSatelliteAssemblyException.cs
- AttributeData.cs
- DATA_BLOB.cs
- PersistencePipeline.cs
- PagerSettings.cs
- DataTableClearEvent.cs
- shaperfactoryquerycacheentry.cs
- EditorResources.cs
- EmptyArray.cs
- RoutedEventArgs.cs
- PageTheme.cs
- BevelBitmapEffect.cs
- GroupBoxAutomationPeer.cs
- ElementHostAutomationPeer.cs
- MissingMethodException.cs
- ComponentDesigner.cs
- DataSourceNameHandler.cs
- EntityStoreSchemaGenerator.cs
- DataGridViewCellStyleChangedEventArgs.cs
- JumpPath.cs
- PassportIdentity.cs
- AssemblyAssociatedContentFileAttribute.cs
- SqlAggregateChecker.cs
- TraceXPathNavigator.cs
- x509store.cs
- ConfigXmlComment.cs
- GlyphShapingProperties.cs
- GenericAuthenticationEventArgs.cs
- DataTemplateSelector.cs
- DataBinder.cs
- XPathDocument.cs
- DrawingVisualDrawingContext.cs
- MouseDevice.cs
- AuthenticationManager.cs
- EmptyEnumerator.cs
- ClipboardData.cs
- NameTable.cs
- Predicate.cs
- BindingRestrictions.cs
- SqlCommand.cs
- SelectorAutomationPeer.cs
- PackagePart.cs
- TextMetrics.cs
- ExceptionValidationRule.cs
- ExtendedProtectionPolicyElement.cs
- WeakKeyDictionary.cs
- ParameterToken.cs
- InheritedPropertyDescriptor.cs
- GridViewRowCollection.cs
- ImageListImage.cs
- IndexerHelper.cs
- QueryGenerator.cs
- ToolboxItemFilterAttribute.cs
- SplayTreeNode.cs
- SortDescriptionCollection.cs
- QueryCacheManager.cs
- _IPv4Address.cs
- RootDesignerSerializerAttribute.cs
- RootDesignerSerializerAttribute.cs
- HandleExceptionArgs.cs
- XPathParser.cs
- ProxyHelper.cs
- WebReference.cs
- WebPartTransformer.cs
- Camera.cs
- UnhandledExceptionEventArgs.cs
- ListViewItem.cs
- OleDbParameterCollection.cs
- UrlAuthFailedErrorFormatter.cs
- EventLogPropertySelector.cs
- EdmRelationshipRoleAttribute.cs
- BasicExpressionVisitor.cs