Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / ComMethodElementCollection.cs / 1 / ComMethodElementCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Collections; using System.Configuration; using System.Globalization; [ConfigurationCollection(typeof(ComMethodElement))] public sealed class ComMethodElementCollection : ServiceModelEnhancedConfigurationElementCollection{ public ComMethodElementCollection() : base(ConfigurationStrings.Add) {} protected override bool ThrowOnDuplicate { get {return false; } } protected override Object GetElementKey(ConfigurationElement element) { if (element == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } ComMethodElement configElementKey = (ComMethodElement) element; return configElementKey.ExposedMethod; } } } // 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
- WebPartConnectionCollection.cs
- ContentElementAutomationPeer.cs
- XmlCodeExporter.cs
- PageStatePersister.cs
- XhtmlBasicValidatorAdapter.cs
- CallbackBehaviorAttribute.cs
- SpeakInfo.cs
- StrongNamePublicKeyBlob.cs
- Automation.cs
- FontCollection.cs
- Menu.cs
- ServiceObjectContainer.cs
- XmlSchemaImporter.cs
- indexingfiltermarshaler.cs
- XPathScanner.cs
- SHA384.cs
- DynamicDiscoSearcher.cs
- KeyedCollection.cs
- Debug.cs
- Command.cs
- Int32CollectionConverter.cs
- SmtpNegotiateAuthenticationModule.cs
- TemplateBamlTreeBuilder.cs
- RuntimeConfigLKG.cs
- PerformanceCounterManager.cs
- ScriptMethodAttribute.cs
- StylusPointProperty.cs
- ServicePointManager.cs
- TargetControlTypeAttribute.cs
- SecurityStateEncoder.cs
- Visitors.cs
- DataGridTextColumn.cs
- FillBehavior.cs
- XPathPatternBuilder.cs
- X500Name.cs
- PropertyChangedEventManager.cs
- CustomMenuItemCollection.cs
- WMICapabilities.cs
- ThousandthOfEmRealDoubles.cs
- DataMemberConverter.cs
- ByteRangeDownloader.cs
- XmlC14NWriter.cs
- CompositeKey.cs
- TypedAsyncResult.cs
- MatrixAnimationUsingKeyFrames.cs
- DBSchemaTable.cs
- CalendarItem.cs
- DataServiceProviderMethods.cs
- BufferedGraphicsManager.cs
- MatrixStack.cs
- ButtonColumn.cs
- EncoderParameter.cs
- WebHttpElement.cs
- WinInetCache.cs
- ComponentResourceManager.cs
- StateValidator.cs
- filewebrequest.cs
- LockedAssemblyCache.cs
- DataErrorValidationRule.cs
- EncoderParameters.cs
- ObjectListShowCommandsEventArgs.cs
- WebContext.cs
- shaperfactoryquerycachekey.cs
- TextServicesContext.cs
- MailAddressParser.cs
- Invariant.cs
- ErrorTableItemStyle.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- AspNetHostingPermission.cs
- ConfigurationStrings.cs
- FileFormatException.cs
- InputReport.cs
- RewritingSimplifier.cs
- HtmlFormWrapper.cs
- ComponentSerializationService.cs
- DataGridViewRow.cs
- NativeStructs.cs
- EntityDataSourceState.cs
- Clipboard.cs
- WindowPatternIdentifiers.cs
- CodeTypeReferenceExpression.cs
- PropertyTab.cs
- BlurEffect.cs
- AuthenticationManager.cs
- PrimaryKeyTypeConverter.cs
- DbConnectionOptions.cs
- COAUTHINFO.cs
- ClipboardData.cs
- ScaleTransform.cs
- UIElementParaClient.cs
- SecurityUtils.cs
- ScriptResourceInfo.cs
- CorrelationHandle.cs
- PropertyItemInternal.cs
- WebPartAuthorizationEventArgs.cs
- JavaScriptSerializer.cs
- TextDecorationCollection.cs
- XmlTextReader.cs
- DataControlImageButton.cs
- HMACSHA256.cs