Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / 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. 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
- EndEvent.cs
- typedescriptorpermissionattribute.cs
- EntityContainerAssociationSet.cs
- MSHTMLHost.cs
- COSERVERINFO.cs
- SqlCharStream.cs
- StylusPointProperty.cs
- Subtree.cs
- AnnotationDocumentPaginator.cs
- PerformanceCounterLib.cs
- AliasExpr.cs
- PeerEndPoint.cs
- InputLangChangeEvent.cs
- ServerIdentity.cs
- CodePageUtils.cs
- BinaryNode.cs
- GPPOINTF.cs
- Peer.cs
- HtmlEncodedRawTextWriter.cs
- DataGridColumnCollection.cs
- RepeaterItemCollection.cs
- LabelEditEvent.cs
- AssociatedControlConverter.cs
- Tablet.cs
- ResourceDescriptionAttribute.cs
- MachineSettingsSection.cs
- _UncName.cs
- FontStretchConverter.cs
- ExpressionDumper.cs
- Image.cs
- EntityTransaction.cs
- PrimitiveXmlSerializers.cs
- CroppedBitmap.cs
- LocalizedNameDescriptionPair.cs
- ResourcePool.cs
- BaseAsyncResult.cs
- _SafeNetHandles.cs
- PageAdapter.cs
- LinkConverter.cs
- DataGridToolTip.cs
- SimpleBitVector32.cs
- EUCJPEncoding.cs
- TraceHwndHost.cs
- DiscoveryClientRequestChannel.cs
- GradientSpreadMethodValidation.cs
- RemotingServices.cs
- FixedSOMPageElement.cs
- ConfigurationValidatorAttribute.cs
- ObjectConverter.cs
- HttpListenerRequest.cs
- oledbmetadatacollectionnames.cs
- PreApplicationStartMethodAttribute.cs
- OutputCacheModule.cs
- WithParamAction.cs
- GraphicsContext.cs
- Evaluator.cs
- RegexGroup.cs
- UserNameSecurityTokenProvider.cs
- BeginSelectCardRequest.cs
- StructuredTypeEmitter.cs
- RegexNode.cs
- shaperfactoryquerycachekey.cs
- RelationshipSet.cs
- CompositeScriptReference.cs
- PagerStyle.cs
- CaseInsensitiveComparer.cs
- LogicalExpr.cs
- WindowsSysHeader.cs
- PathTooLongException.cs
- CuspData.cs
- AuthenticationModulesSection.cs
- ISO2022Encoding.cs
- TextLineResult.cs
- SystemTcpConnection.cs
- HebrewNumber.cs
- WindowsRichEdit.cs
- PeerNameResolver.cs
- ChildrenQuery.cs
- BatchStream.cs
- ClientSettingsStore.cs
- RtfFormatStack.cs
- SqlClientWrapperSmiStream.cs
- TypeConverter.cs
- Invariant.cs
- ParamArrayAttribute.cs
- BitmapEffectGroup.cs
- AssociatedControlConverter.cs
- TextTreeDeleteContentUndoUnit.cs
- ConsumerConnectionPointCollection.cs
- CompleteWizardStep.cs
- ToolStripSettings.cs
- ImageInfo.cs
- TransformerInfo.cs
- SiteMapPath.cs
- LogStore.cs
- FillBehavior.cs
- DataGridViewCell.cs
- HtmlInputText.cs
- FixedSOMLineCollection.cs
- ImageMap.cs