Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Base / MS / Internal / ComponentModel / PropertyDescriptorComparer.cs / 1 / PropertyDescriptorComparer.cs
namespace MS.Internal.ComponentModel { using System; using System.Collections.Generic; using System.ComponentModel; // This is a hashcode comparer we use to key property descriptors. We // want property descriptors keyed off of reference equality. // internal class PropertyDescriptorComparer : IEqualityComparer{ public bool Equals(PropertyDescriptor p1, PropertyDescriptor p2) { return object.ReferenceEquals(p1, p2); } public int GetHashCode(PropertyDescriptor p) { return p.GetHashCode(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. namespace MS.Internal.ComponentModel { using System; using System.Collections.Generic; using System.ComponentModel; // This is a hashcode comparer we use to key property descriptors. We // want property descriptors keyed off of reference equality. // internal class PropertyDescriptorComparer : IEqualityComparer { public bool Equals(PropertyDescriptor p1, PropertyDescriptor p2) { return object.ReferenceEquals(p1, p2); } public int GetHashCode(PropertyDescriptor p) { return p.GetHashCode(); } } } // 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
- Win32MouseDevice.cs
- DtdParser.cs
- PrivilegeNotHeldException.cs
- Configuration.cs
- DataBindingList.cs
- SymbolEqualComparer.cs
- OleDbConnectionFactory.cs
- MeasureItemEvent.cs
- HttpRequestBase.cs
- ApplicationServiceManager.cs
- SqlConnection.cs
- UsernameTokenFactoryCredential.cs
- TableFieldsEditor.cs
- ValueQuery.cs
- EntityContainerEntitySet.cs
- ChangeConflicts.cs
- ListSortDescription.cs
- GZipStream.cs
- DeferredSelectedIndexReference.cs
- SqlCacheDependency.cs
- WorkItem.cs
- SafeThemeHandle.cs
- StoreContentChangedEventArgs.cs
- GPStream.cs
- XmlAttributeOverrides.cs
- SyndicationSerializer.cs
- DrawTreeNodeEventArgs.cs
- DragEvent.cs
- DataServiceRequestException.cs
- WebServiceParameterData.cs
- Localizer.cs
- Point4DConverter.cs
- FloatSumAggregationOperator.cs
- SystemIcmpV6Statistics.cs
- UniqueEventHelper.cs
- GCHandleCookieTable.cs
- WebPartHelpVerb.cs
- HandlerBase.cs
- ListBoxItem.cs
- HttpPostServerProtocol.cs
- PenLineJoinValidation.cs
- ResourceAssociationTypeEnd.cs
- StrongNameUtility.cs
- DateTimeConverter.cs
- EntityDesignerDataSourceView.cs
- HttpCookie.cs
- XmlSignificantWhitespace.cs
- DataMisalignedException.cs
- ProfessionalColorTable.cs
- ProfessionalColors.cs
- DispatchOperationRuntime.cs
- ModuleConfigurationInfo.cs
- CharEnumerator.cs
- GridItemCollection.cs
- DecimalFormatter.cs
- FormsAuthenticationCredentials.cs
- XmlValueConverter.cs
- ItemAutomationPeer.cs
- HashRepartitionStream.cs
- StickyNoteAnnotations.cs
- QilReference.cs
- ProfileEventArgs.cs
- CounterSample.cs
- SimpleBitVector32.cs
- XhtmlBasicPanelAdapter.cs
- ChtmlPageAdapter.cs
- CheckBox.cs
- BrowserCapabilitiesCodeGenerator.cs
- QuaternionAnimation.cs
- _emptywebproxy.cs
- DependencyObject.cs
- Int16.cs
- DbFunctionCommandTree.cs
- CheckBox.cs
- GeneralTransform3D.cs
- SocketInformation.cs
- _ConnectOverlappedAsyncResult.cs
- URI.cs
- ConfigurationSectionHelper.cs
- HttpResponseHeader.cs
- FixedFindEngine.cs
- TreeNodeCollectionEditor.cs
- DataGridViewLinkCell.cs
- ListItemDetailViewAttribute.cs
- Shape.cs
- ProgressBar.cs
- GridViewColumnCollectionChangedEventArgs.cs
- Geometry3D.cs
- PageEventArgs.cs
- TypeExtensionSerializer.cs
- OdbcTransaction.cs
- RelationshipEndCollection.cs
- SamlAuthorityBinding.cs
- FixedSOMElement.cs
- EventItfInfo.cs
- UriParserTemplates.cs
- Stack.cs
- CustomValidator.cs
- uribuilder.cs
- Size3DValueSerializer.cs