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
- FontFamilyValueSerializer.cs
- ListControl.cs
- ComponentGlyph.cs
- WebPartTracker.cs
- DetailsViewDeleteEventArgs.cs
- InboundActivityHelper.cs
- OutputCacheSettingsSection.cs
- SecurityTokenProviderContainer.cs
- HtmlProps.cs
- ConditionalExpression.cs
- FileSystemEventArgs.cs
- StringOutput.cs
- PointConverter.cs
- SettingsSavedEventArgs.cs
- TreeNodeMouseHoverEvent.cs
- assertwrapper.cs
- KeyboardDevice.cs
- PerformanceCounterLib.cs
- WebServiceEnumData.cs
- SqlStream.cs
- StyleCollectionEditor.cs
- OutputCacheProfile.cs
- Process.cs
- ResourcePermissionBaseEntry.cs
- IIS7WorkerRequest.cs
- LookupNode.cs
- GenericRootAutomationPeer.cs
- PeerName.cs
- EditorAttribute.cs
- MethodExpr.cs
- PersonalizationState.cs
- PlatformCulture.cs
- LinqExpressionNormalizer.cs
- MessageQueueTransaction.cs
- VirtualizingStackPanel.cs
- OLEDB_Enum.cs
- SelectionPatternIdentifiers.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- basecomparevalidator.cs
- MasterPageBuildProvider.cs
- LicFileLicenseProvider.cs
- IpcManager.cs
- ContainerAction.cs
- BinaryConverter.cs
- ExtendedProperty.cs
- AutomationPropertyInfo.cs
- XamlReaderHelper.cs
- Menu.cs
- UntrustedRecipientException.cs
- X509SubjectKeyIdentifierClause.cs
- GetReadStreamResult.cs
- NTAccount.cs
- SmiSettersStream.cs
- DecoderBestFitFallback.cs
- EndPoint.cs
- ToolStripHighContrastRenderer.cs
- HwndSubclass.cs
- SqlDependencyListener.cs
- Logging.cs
- PropertyReferenceSerializer.cs
- StorageScalarPropertyMapping.cs
- InputLangChangeEvent.cs
- DefaultSection.cs
- CancellationHandlerDesigner.cs
- PipeSecurity.cs
- HttpProcessUtility.cs
- TableItemPattern.cs
- ConstNode.cs
- CreateUserWizard.cs
- TargetParameterCountException.cs
- PipelineModuleStepContainer.cs
- ThousandthOfEmRealDoubles.cs
- ScriptBehaviorDescriptor.cs
- ServiceControllerDesigner.cs
- DataBinding.cs
- PerformanceCounterManager.cs
- LabelDesigner.cs
- Volatile.cs
- WebBrowserNavigatedEventHandler.cs
- ResourcePermissionBase.cs
- ServiceKnownTypeAttribute.cs
- NodeLabelEditEvent.cs
- InputBinder.cs
- EditingCommands.cs
- XsdDateTime.cs
- TextInfo.cs
- PathSegment.cs
- RandomDelaySendsAsyncResult.cs
- GenericWebPart.cs
- _NegoState.cs
- StylusDownEventArgs.cs
- loginstatus.cs
- _HeaderInfo.cs
- DiagnosticEventProvider.cs
- ForwardPositionQuery.cs
- KeyFrames.cs
- XmlSerializerVersionAttribute.cs
- EntityRecordInfo.cs
- TextDecorationLocationValidation.cs
- SecurityState.cs