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
- HtmlForm.cs
- DbDataReader.cs
- CounterCreationData.cs
- LoadWorkflowAsyncResult.cs
- CursorEditor.cs
- DataGridSortCommandEventArgs.cs
- WebPartConnection.cs
- EntityEntry.cs
- EditorBrowsableAttribute.cs
- ISFTagAndGuidCache.cs
- SoapAttributeOverrides.cs
- DllNotFoundException.cs
- MenuItemBindingCollection.cs
- HtmlFormWrapper.cs
- userdatakeys.cs
- FrameworkContentElement.cs
- OutputCacheSettingsSection.cs
- ColumnWidthChangedEvent.cs
- DataFormats.cs
- ProfilePropertySettings.cs
- SystemIcmpV4Statistics.cs
- SelectionItemPattern.cs
- CreateWorkflowOwnerCommand.cs
- SchemaCollectionCompiler.cs
- CryptoProvider.cs
- JavaScriptObjectDeserializer.cs
- FixedHyperLink.cs
- MenuItem.cs
- TreeNodeStyleCollection.cs
- ChangesetResponse.cs
- XmlWriterTraceListener.cs
- HtmlInputRadioButton.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- WebPartMovingEventArgs.cs
- PointAnimationUsingPath.cs
- DbProviderFactories.cs
- TableParagraph.cs
- IDispatchConstantAttribute.cs
- ListControlConvertEventArgs.cs
- SchemaSetCompiler.cs
- Relationship.cs
- WindowsListViewGroup.cs
- ObjectStateEntryDbDataRecord.cs
- httpserverutility.cs
- MemberProjectedSlot.cs
- CqlParserHelpers.cs
- RelatedCurrencyManager.cs
- DbTransaction.cs
- ComboBoxHelper.cs
- SiteMapNodeCollection.cs
- TransformValueSerializer.cs
- InternalCache.cs
- BitmapMetadataEnumerator.cs
- SoapServerMethod.cs
- StringReader.cs
- CalendarTable.cs
- Propagator.cs
- XsltException.cs
- CacheAxisQuery.cs
- NullableFloatAverageAggregationOperator.cs
- ResourceReferenceKeyNotFoundException.cs
- ConfigXmlCDataSection.cs
- SerTrace.cs
- DetailsViewModeEventArgs.cs
- TrailingSpaceComparer.cs
- QilIterator.cs
- HttpListenerException.cs
- TemplateField.cs
- UnhandledExceptionEventArgs.cs
- ContentType.cs
- LicenseException.cs
- Array.cs
- CodePageUtils.cs
- CrossContextChannel.cs
- ExecutionEngineException.cs
- DataSourceControl.cs
- References.cs
- AdobeCFFWrapper.cs
- DisableDpiAwarenessAttribute.cs
- CatalogZoneBase.cs
- RangeBaseAutomationPeer.cs
- MailHeaderInfo.cs
- BaseCAMarshaler.cs
- SecureEnvironment.cs
- XPathParser.cs
- FontInfo.cs
- BaseCAMarshaler.cs
- HWStack.cs
- CompleteWizardStep.cs
- HtmlElementCollection.cs
- QueryActivatableWorkflowsCommand.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- CodeSubDirectory.cs
- OleDbDataAdapter.cs
- CompatibleComparer.cs
- MenuStrip.cs
- CommandEventArgs.cs
- LocatorManager.cs
- FontFaceLayoutInfo.cs
- Message.cs