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
- XmlDictionary.cs
- TextParagraphView.cs
- DbgCompiler.cs
- WindowsBrush.cs
- DPTypeDescriptorContext.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- XmlSerializerFormatAttribute.cs
- XslAstAnalyzer.cs
- ZipIOLocalFileBlock.cs
- XmlIlGenerator.cs
- ContextDataSource.cs
- ValidationError.cs
- DataMemberFieldConverter.cs
- CommandEventArgs.cs
- ZipIOFileItemStream.cs
- MethodBuilder.cs
- XmlSchemaValidationException.cs
- SchemaNotation.cs
- MetadataPropertyAttribute.cs
- ProviderUtil.cs
- util.cs
- WebServiceHandlerFactory.cs
- CustomValidator.cs
- ToolBar.cs
- ReferencedType.cs
- NativeWindow.cs
- TrackingConditionCollection.cs
- Keywords.cs
- Processor.cs
- ColumnMapCopier.cs
- LicenseManager.cs
- UInt32Storage.cs
- DocumentGrid.cs
- BitmapEffectCollection.cs
- DesignerRegion.cs
- WorkflowTransactionService.cs
- JapaneseLunisolarCalendar.cs
- OperatingSystem.cs
- SafeSecurityHandles.cs
- SoapIgnoreAttribute.cs
- FunctionQuery.cs
- Query.cs
- MDIClient.cs
- PathSegment.cs
- ScrollBar.cs
- TransformedBitmap.cs
- CompiledRegexRunnerFactory.cs
- HttpDebugHandler.cs
- Label.cs
- SqlDataSourceView.cs
- ResourcePermissionBaseEntry.cs
- RightsManagementManager.cs
- DataGridViewComboBoxCell.cs
- TypeSystem.cs
- DataControlFieldsEditor.cs
- BamlLocalizabilityResolver.cs
- Floater.cs
- _BaseOverlappedAsyncResult.cs
- XamlPathDataSerializer.cs
- RankException.cs
- cookie.cs
- ZipFileInfo.cs
- HTMLTagNameToTypeMapper.cs
- SqlProviderServices.cs
- CLSCompliantAttribute.cs
- OpCodes.cs
- LayoutTable.cs
- SecurityException.cs
- WorkflowRuntime.cs
- QueryGenerator.cs
- ContractComponent.cs
- HandlerFactoryCache.cs
- XsltCompileContext.cs
- FlowPanelDesigner.cs
- Buffer.cs
- UnauthorizedAccessException.cs
- BitStream.cs
- XPathNavigator.cs
- GenericTypeParameterConverter.cs
- XmlSchemaParticle.cs
- GridViewCancelEditEventArgs.cs
- EndOfStreamException.cs
- PeerApplicationLaunchInfo.cs
- __ComObject.cs
- CodeMemberEvent.cs
- BooleanSwitch.cs
- CommandDevice.cs
- DockPattern.cs
- EncoderParameters.cs
- XmlSerializationGeneratedCode.cs
- WebBrowserNavigatedEventHandler.cs
- PointValueSerializer.cs
- EventSetter.cs
- BitSet.cs
- RequiredAttributeAttribute.cs
- DbgUtil.cs
- MasterPage.cs
- ToggleButtonAutomationPeer.cs
- HtmlInputPassword.cs
- ContainerParagraph.cs