Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / EventPrivateKey.cs / 1 / 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
- PassportIdentity.cs
- ScrollPatternIdentifiers.cs
- DesignTimeParseData.cs
- Transform3DCollection.cs
- EarlyBoundInfo.cs
- Glyph.cs
- ChannelAcceptor.cs
- EventData.cs
- UIElementHelper.cs
- ExtensionSimplifierMarkupObject.cs
- Matrix3D.cs
- ObjectDataSourceSelectingEventArgs.cs
- SizeValueSerializer.cs
- SQLByte.cs
- SerializerWriterEventHandlers.cs
- XmlUrlResolver.cs
- EventTrigger.cs
- TabControl.cs
- XsdBuildProvider.cs
- InputGestureCollection.cs
- ToolStripCollectionEditor.cs
- SecurityToken.cs
- ByteStreamGeometryContext.cs
- ShutDownListener.cs
- FileUtil.cs
- ListBase.cs
- RelationshipDetailsRow.cs
- GridPatternIdentifiers.cs
- WebServiceMethodData.cs
- MultipleViewPattern.cs
- oledbconnectionstring.cs
- DesignTimeParseData.cs
- ContextMenuAutomationPeer.cs
- CheckBoxStandardAdapter.cs
- InnerItemCollectionView.cs
- ServiceReference.cs
- StateDesigner.cs
- KeyboardDevice.cs
- SecurityException.cs
- ArrayElementGridEntry.cs
- UriPrefixTable.cs
- Helper.cs
- InkCanvasFeedbackAdorner.cs
- ValueConversionAttribute.cs
- StdValidatorsAndConverters.cs
- Double.cs
- DateRangeEvent.cs
- DataKey.cs
- StylusPointCollection.cs
- ContentValidator.cs
- OutputChannel.cs
- ComponentSerializationService.cs
- HttpListenerTimeoutManager.cs
- DrawingBrush.cs
- CriticalFinalizerObject.cs
- PageCatalogPart.cs
- RestHandler.cs
- PackUriHelper.cs
- ScaleTransform3D.cs
- WebScriptMetadataMessageEncoderFactory.cs
- PersianCalendar.cs
- NullableFloatAverageAggregationOperator.cs
- _emptywebproxy.cs
- GC.cs
- WinInetCache.cs
- RankException.cs
- BrowserCapabilitiesCompiler.cs
- SqlCacheDependency.cs
- DragDeltaEventArgs.cs
- SendKeys.cs
- RIPEMD160.cs
- ExpressionServices.cs
- WorkerProcess.cs
- OleDbDataAdapter.cs
- PageAsyncTaskManager.cs
- WindowsTitleBar.cs
- XPathMultyIterator.cs
- TextServicesLoader.cs
- Preprocessor.cs
- XmlWellformedWriter.cs
- ApplicationContext.cs
- DataSourceSelectArguments.cs
- ActivationServices.cs
- DiagnosticsConfigurationHandler.cs
- FloaterParagraph.cs
- SchemaSetCompiler.cs
- ExtentCqlBlock.cs
- CodeTypeDeclaration.cs
- WebPartMenu.cs
- _ListenerRequestStream.cs
- RemotingException.cs
- TableProviderWrapper.cs
- PlatformNotSupportedException.cs
- FirstMatchCodeGroup.cs
- CallbackException.cs
- InvalidOperationException.cs
- BinHexEncoder.cs
- TreeNodeBindingCollection.cs
- IUnknownConstantAttribute.cs
- StructuredCompositeActivityDesigner.cs