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
- SortDescription.cs
- Section.cs
- FlowDocumentPage.cs
- SqlConnectionString.cs
- ConsoleTraceListener.cs
- TraceHandlerErrorFormatter.cs
- SimpleWebHandlerParser.cs
- TemplateXamlTreeBuilder.cs
- QueueProcessor.cs
- ZoomPercentageConverter.cs
- MetadataArtifactLoader.cs
- SelectionList.cs
- BitmapImage.cs
- _SslState.cs
- Screen.cs
- TargetInvocationException.cs
- XsltQilFactory.cs
- TraceInternal.cs
- DbConnectionStringBuilder.cs
- ParentQuery.cs
- SmtpFailedRecipientsException.cs
- HostedBindingBehavior.cs
- DBDataPermissionAttribute.cs
- TraceSwitch.cs
- ConfigXmlSignificantWhitespace.cs
- DynamicDataRouteHandler.cs
- DataGridBoolColumn.cs
- CaseStatementProjectedSlot.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- COMException.cs
- TargetConverter.cs
- HijriCalendar.cs
- GradientBrush.cs
- QueryOptionExpression.cs
- PropertyValueUIItem.cs
- CheckedListBox.cs
- _ProxyChain.cs
- SqlCacheDependencyDatabase.cs
- Assembly.cs
- BitmapPalette.cs
- ImageButton.cs
- DiagnosticEventProvider.cs
- ClonableStack.cs
- Brush.cs
- StandardTransformFactory.cs
- DefaultObjectSerializer.cs
- BlurBitmapEffect.cs
- GenericTypeParameterBuilder.cs
- ConnectionInterfaceCollection.cs
- FieldToken.cs
- NodeLabelEditEvent.cs
- GeneralTransform3DTo2DTo3D.cs
- TextEditorTyping.cs
- PrimaryKeyTypeConverter.cs
- EdmSchemaAttribute.cs
- XmlSchemaSearchPattern.cs
- SqlFacetAttribute.cs
- MergeLocalizationDirectives.cs
- ListBoxAutomationPeer.cs
- SafeNativeMethods.cs
- StyleSheetRefUrlEditor.cs
- TextComposition.cs
- SafeNativeMethods.cs
- BitmapInitialize.cs
- DataGridItem.cs
- Misc.cs
- WindowsScroll.cs
- ToolStripManager.cs
- XmlnsDictionary.cs
- FixedSOMTableCell.cs
- WebBaseEventKeyComparer.cs
- DoubleIndependentAnimationStorage.cs
- TypefaceMetricsCache.cs
- MatrixTransform.cs
- CurrentTimeZone.cs
- WinEventHandler.cs
- TextBreakpoint.cs
- GeometryCollection.cs
- ValidationHelper.cs
- EntityObject.cs
- TemplateDefinition.cs
- MatrixTransform3D.cs
- ValidationPropertyAttribute.cs
- EdmEntityTypeAttribute.cs
- SignedXmlDebugLog.cs
- ConnectionPoint.cs
- XamlWrapperReaders.cs
- ServiceReference.cs
- RequiredFieldValidator.cs
- MatrixConverter.cs
- IndicFontClient.cs
- CustomAttributeSerializer.cs
- DesignerActionListCollection.cs
- DetailsViewInsertEventArgs.cs
- GPRECT.cs
- ObjectItemCachedAssemblyLoader.cs
- Partitioner.cs
- PropertiesTab.cs
- PrivacyNoticeElement.cs
- InputReportEventArgs.cs