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
- SettingsContext.cs
- WpfSharedBamlSchemaContext.cs
- CheckBoxField.cs
- ImageList.cs
- LocalizedNameDescriptionPair.cs
- WebWorkflowRole.cs
- ColumnResult.cs
- wgx_exports.cs
- AjaxFrameworkAssemblyAttribute.cs
- VectorKeyFrameCollection.cs
- ScriptBehaviorDescriptor.cs
- QilTernary.cs
- Roles.cs
- ControlCachePolicy.cs
- HtmlInputRadioButton.cs
- XamlDesignerSerializationManager.cs
- PropertyItem.cs
- VariableQuery.cs
- StsCommunicationException.cs
- QilLoop.cs
- BCLDebug.cs
- ChameleonKey.cs
- RelationshipWrapper.cs
- GeometryModel3D.cs
- ConfigXmlText.cs
- BamlReader.cs
- IIS7UserPrincipal.cs
- SecurityContextSecurityToken.cs
- Splitter.cs
- StyleHelper.cs
- NTAccount.cs
- DataSpaceManager.cs
- NativeMethods.cs
- OracleDateTime.cs
- AudioException.cs
- EventDescriptor.cs
- WinFormsUtils.cs
- MemberDomainMap.cs
- SettingsProviderCollection.cs
- QuaternionIndependentAnimationStorage.cs
- DependencyPropertyHelper.cs
- MenuTracker.cs
- ToolStripContentPanel.cs
- ViewGenerator.cs
- CodeArgumentReferenceExpression.cs
- ProjectionRewriter.cs
- XmlWellformedWriter.cs
- EntityConnectionStringBuilderItem.cs
- ConstraintConverter.cs
- BamlTreeNode.cs
- ByteKeyFrameCollection.cs
- MsmqIntegrationBindingElement.cs
- OrderingInfo.cs
- IDispatchConstantAttribute.cs
- DeferredTextReference.cs
- NotificationContext.cs
- AppDomainAttributes.cs
- SystemIcmpV4Statistics.cs
- IIS7UserPrincipal.cs
- IsolatedStorageSecurityState.cs
- TextMetrics.cs
- RepeaterItemEventArgs.cs
- CodeConstructor.cs
- PrintPreviewGraphics.cs
- DoubleUtil.cs
- AvTraceDetails.cs
- PropertyMap.cs
- ConstructorBuilder.cs
- sitestring.cs
- FileLevelControlBuilderAttribute.cs
- PlainXmlWriter.cs
- HtmlTextArea.cs
- recordstatescratchpad.cs
- FormViewUpdatedEventArgs.cs
- SuppressMergeCheckAttribute.cs
- ButtonBaseAutomationPeer.cs
- DrawingContext.cs
- ChineseLunisolarCalendar.cs
- PersistenceProviderDirectory.cs
- ThreadInterruptedException.cs
- ListViewItem.cs
- ExpressionPrefixAttribute.cs
- SignedPkcs7.cs
- UpdatePanelControlTrigger.cs
- WindowsSpinner.cs
- MetabaseReader.cs
- Validator.cs
- ContextQuery.cs
- UIElementIsland.cs
- URLMembershipCondition.cs
- ListViewPagedDataSource.cs
- UnsafeNativeMethodsCLR.cs
- BindingNavigator.cs
- AccessorTable.cs
- SchemaElement.cs
- FacetValueContainer.cs
- ArrayConverter.cs
- NotConverter.cs
- BooleanSwitch.cs
- ModelUIElement3D.cs