Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / EventPrivateKey.cs / 1305600 / EventPrivateKey.cs
using System; namespace System.Windows { ////// This class is meant to provide identification /// for Clr events whose handlers are stored /// into EventHandlersStore /// ////// This type has been specifically added so that it /// is easy to enforce via fxcop rules or such that /// event keys of this type must be private static /// fields on the declaring class. /// public class EventPrivateKey { ////// Constructor for EventPrivateKey /// public EventPrivateKey() { _globalIndex = GlobalEventManager.GetNextAvailableGlobalIndex(this); } internal int GlobalIndex { get { return _globalIndex; } } private int _globalIndex; } } // 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
- ButtonAutomationPeer.cs
- KeyedCollection.cs
- AuthorizationSection.cs
- XmlSchemaGroupRef.cs
- SettingsPropertyValue.cs
- Configuration.cs
- GeneralTransform.cs
- Point4DConverter.cs
- InstalledFontCollection.cs
- TypePresenter.xaml.cs
- ProxySimple.cs
- COM2PropertyPageUITypeConverter.cs
- BitmapData.cs
- XhtmlBasicControlAdapter.cs
- IntSecurity.cs
- EntityModelBuildProvider.cs
- KeyedCollection.cs
- ScriptManager.cs
- OciLobLocator.cs
- TypeTypeConverter.cs
- OleDbReferenceCollection.cs
- XmlDeclaration.cs
- ContentValidator.cs
- StreamGeometry.cs
- Delegate.cs
- StatusBarPanel.cs
- TypeDelegator.cs
- SpellerError.cs
- CustomActivityDesigner.cs
- EdmTypeAttribute.cs
- ToolboxItemCollection.cs
- RowTypeElement.cs
- SafeSystemMetrics.cs
- AssociationSetEnd.cs
- ClipboardProcessor.cs
- TemplateBuilder.cs
- XmlCodeExporter.cs
- SqlDataSourceCommandEventArgs.cs
- TransformerTypeCollection.cs
- SQLDouble.cs
- DetailsViewRow.cs
- SqlTypeConverter.cs
- TextBoxAutomationPeer.cs
- NoClickablePointException.cs
- FragmentQueryKB.cs
- XmlBinaryWriterSession.cs
- XmlAnyAttributeAttribute.cs
- DataBoundControlHelper.cs
- TextSimpleMarkerProperties.cs
- NetworkStream.cs
- ExternalFile.cs
- ToolStripSeparator.cs
- DataTableMapping.cs
- DataGridViewTextBoxCell.cs
- EntityClassGenerator.cs
- BasePropertyDescriptor.cs
- GrammarBuilder.cs
- PathParser.cs
- CellConstant.cs
- Mapping.cs
- Console.cs
- DataServiceClientException.cs
- RemoteWebConfigurationHost.cs
- DefinitionUpdate.cs
- EntityKeyElement.cs
- TextView.cs
- TableCell.cs
- UserInitiatedNavigationPermission.cs
- AdornerHitTestResult.cs
- DesignUtil.cs
- TreeView.cs
- SignatureHelper.cs
- SchemaMerger.cs
- CatalogPart.cs
- ContextMenuStrip.cs
- ExtensionQuery.cs
- ListView.cs
- AddInStore.cs
- RepeatInfo.cs
- DataControlPagerLinkButton.cs
- ErrorWebPart.cs
- CharEntityEncoderFallback.cs
- HtmlInputHidden.cs
- Configuration.cs
- Button.cs
- StaticFileHandler.cs
- ProfileBuildProvider.cs
- DataSourceCacheDurationConverter.cs
- HMACSHA1.cs
- ClassicBorderDecorator.cs
- Variant.cs
- Encoder.cs
- HttpPostClientProtocol.cs
- DeferredElementTreeState.cs
- CodeTypeDeclarationCollection.cs
- OracleRowUpdatedEventArgs.cs
- ColorEditor.cs
- BitmapDownload.cs
- Exceptions.cs
- DecoderBestFitFallback.cs