Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Configuration / ComPersistableTypeElementCollection.cs / 1 / ComPersistableTypeElementCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Configuration { using System.Collections; using System.Configuration; using System.Globalization; [ConfigurationCollection(typeof(ComPersistableTypeElement), AddItemName = ConfigurationStrings.Type)] public sealed class ComPersistableTypeElementCollection : ServiceModelEnhancedConfigurationElementCollection{ public ComPersistableTypeElementCollection() : base(ConfigurationStrings.Type) {} protected override bool ThrowOnDuplicate { get {return false; } } protected override Object GetElementKey(ConfigurationElement element) { if (element == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("element"); } ComPersistableTypeElement configElementKey = (ComPersistableTypeElement)element; return configElementKey.ID; } } } // 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
- BrowserInteropHelper.cs
- SecurityUniqueId.cs
- WindowHideOrCloseTracker.cs
- TextBox.cs
- WebUtil.cs
- UsernameTokenFactoryCredential.cs
- RenderDataDrawingContext.cs
- FormViewDeletedEventArgs.cs
- ToolStripKeyboardHandlingService.cs
- FormatConvertedBitmap.cs
- GPRECT.cs
- InkCanvasAutomationPeer.cs
- TextEndOfSegment.cs
- TrackingLocationCollection.cs
- SourceFileBuildProvider.cs
- FormViewDeleteEventArgs.cs
- NonVisualControlAttribute.cs
- XsdDateTime.cs
- TypeReference.cs
- TableAdapterManagerNameHandler.cs
- CatalogZone.cs
- SemanticResolver.cs
- RegionData.cs
- GeometryDrawing.cs
- PageAdapter.cs
- XslUrlEditor.cs
- Util.cs
- FixedStringLookup.cs
- RegistryConfigurationProvider.cs
- ConstantProjectedSlot.cs
- EmbossBitmapEffect.cs
- SerializationEventsCache.cs
- VisualTreeUtils.cs
- HtmlShim.cs
- recordstate.cs
- DataGridViewRowConverter.cs
- Form.cs
- ExtendedProtectionPolicy.cs
- RequestNavigateEventArgs.cs
- DoubleCollectionConverter.cs
- ListViewPagedDataSource.cs
- CodeCatchClauseCollection.cs
- FloaterParagraph.cs
- RegexCode.cs
- PropertyBuilder.cs
- ComboBoxAutomationPeer.cs
- DatatypeImplementation.cs
- SiteMapNodeItemEventArgs.cs
- PrinterSettings.cs
- CheckBoxField.cs
- ArithmeticException.cs
- ListViewItem.cs
- AccessViolationException.cs
- DynamicValueConverter.cs
- SQLInt32Storage.cs
- TypeSource.cs
- SymLanguageVendor.cs
- StrongNameMembershipCondition.cs
- ObjectListShowCommandsEventArgs.cs
- DefaultClaimSet.cs
- Int32.cs
- XmlHelper.cs
- RichTextBoxConstants.cs
- Attributes.cs
- UInt16.cs
- FileAccessException.cs
- ModifiableIteratorCollection.cs
- ThreadStateException.cs
- MailAddressCollection.cs
- XmlBoundElement.cs
- ConfigurationValue.cs
- StateRuntime.cs
- GlyphsSerializer.cs
- HashHelper.cs
- DefaultExpressionVisitor.cs
- Table.cs
- DrawingContext.cs
- entitydatasourceentitysetnameconverter.cs
- DataRowChangeEvent.cs
- SetterTriggerConditionValueConverter.cs
- HostingEnvironment.cs
- MenuItemStyle.cs
- EditBehavior.cs
- DataKey.cs
- cookieexception.cs
- HandlerMappingMemo.cs
- SyndicationDeserializer.cs
- MessageAction.cs
- PriorityBindingExpression.cs
- GeneralTransform3DTo2DTo3D.cs
- PropertyGridDesigner.cs
- PackageRelationshipCollection.cs
- FailedToStartupUIException.cs
- CommonXSendMessage.cs
- OdbcEnvironmentHandle.cs
- tooltip.cs
- FontCacheUtil.cs
- RowParagraph.cs
- RSAOAEPKeyExchangeFormatter.cs
- EngineSite.cs