Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Input / NotifyInputEventArgs.cs / 1 / NotifyInputEventArgs.cs
using System; using System.Collections; using System.Security.Permissions; using System.Security ; using MS.Internal; using MS.Internal.PresentationCore; // SecurityHelper namespace System.Windows.Input { ////// Provides information about an input event being processed by the /// input manager. /// ////// An instance of this class, or a derived class, is passed to the /// handlers of the following events: /// public class NotifyInputEventArgs : EventArgs { // Only we can make these. Note that we cache and reuse instances. internal NotifyInputEventArgs() {} //////
////// Critical - InputManager passed in is critical data. /// [SecurityCritical] internal virtual void Reset(StagingAreaInputItem input, InputManager inputManager) { _input = input; _inputManager = inputManager; } ////// The staging area input item being processed by the input /// manager. /// public StagingAreaInputItem StagingItem {get {return _input;}} ////// The input manager processing the input event. /// ////// Callers must have UIPermission(PermissionState.Unrestricted) to call this API. /// ////// Critical - input manager is critical /// PublicOK - there's a demand. /// public InputManager InputManager { [SecurityCritical ] get { SecurityHelper.DemandUnrestrictedUIPermission(); return _inputManager; } } ////// The input manager processing the input event. /// *** FOR INTERNAL USE ONLY **** /// ////// Critical - input manager is critical /// internal InputManager UnsecureInputManager { [SecurityCritical] get { return _inputManager; } } private StagingAreaInputItem _input; ////// Critical data as InputManager ctor is critical. /// [SecurityCritical] private InputManager _inputManager; } ////// Delegate type for handles of events that use /// public delegate void NotifyInputEventHandler(object sender, NotifyInputEventArgs e); } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections; using System.Security.Permissions; using System.Security ; using MS.Internal; using MS.Internal.PresentationCore; // SecurityHelper namespace System.Windows.Input { ///. /// /// Provides information about an input event being processed by the /// input manager. /// ////// An instance of this class, or a derived class, is passed to the /// handlers of the following events: /// public class NotifyInputEventArgs : EventArgs { // Only we can make these. Note that we cache and reuse instances. internal NotifyInputEventArgs() {} //////
////// Critical - InputManager passed in is critical data. /// [SecurityCritical] internal virtual void Reset(StagingAreaInputItem input, InputManager inputManager) { _input = input; _inputManager = inputManager; } ////// The staging area input item being processed by the input /// manager. /// public StagingAreaInputItem StagingItem {get {return _input;}} ////// The input manager processing the input event. /// ////// Callers must have UIPermission(PermissionState.Unrestricted) to call this API. /// ////// Critical - input manager is critical /// PublicOK - there's a demand. /// public InputManager InputManager { [SecurityCritical ] get { SecurityHelper.DemandUnrestrictedUIPermission(); return _inputManager; } } ////// The input manager processing the input event. /// *** FOR INTERNAL USE ONLY **** /// ////// Critical - input manager is critical /// internal InputManager UnsecureInputManager { [SecurityCritical] get { return _inputManager; } } private StagingAreaInputItem _input; ////// Critical data as InputManager ctor is critical. /// [SecurityCritical] private InputManager _inputManager; } ////// Delegate type for handles of events that use /// public delegate void NotifyInputEventHandler(object sender, NotifyInputEventArgs e); } // 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
- CompiledQueryCacheEntry.cs
- ProvidersHelper.cs
- ToolStripSeparatorRenderEventArgs.cs
- DataGridViewTextBoxColumn.cs
- KeyNotFoundException.cs
- NetMsmqSecurityElement.cs
- RectAnimationClockResource.cs
- EventProviderWriter.cs
- ProfilePropertyNameValidator.cs
- ServerIdentity.cs
- TextReturnReader.cs
- XmlSchemaFacet.cs
- AuthorizationRule.cs
- GenericIdentity.cs
- FormView.cs
- XmlnsPrefixAttribute.cs
- CodeGotoStatement.cs
- DrawListViewItemEventArgs.cs
- DataGridViewBand.cs
- IndependentAnimationStorage.cs
- DoubleCollectionConverter.cs
- XLinq.cs
- Parser.cs
- DependencyProperty.cs
- OlePropertyStructs.cs
- NextPreviousPagerField.cs
- MatrixTransform3D.cs
- UserPreferenceChangedEventArgs.cs
- HitTestFilterBehavior.cs
- DbProviderFactory.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- TextCollapsingProperties.cs
- BackStopAuthenticationModule.cs
- SmtpLoginAuthenticationModule.cs
- Model3DGroup.cs
- AnnotationService.cs
- WebPartDescriptionCollection.cs
- RuleSettingsCollection.cs
- DependencyProperty.cs
- SQlBooleanStorage.cs
- LinkConverter.cs
- ACE.cs
- DesignerCategoryAttribute.cs
- HttpValueCollection.cs
- indexingfiltermarshaler.cs
- SafeThreadHandle.cs
- JavascriptCallbackMessageInspector.cs
- COM2ICategorizePropertiesHandler.cs
- CookieParameter.cs
- StrongNameMembershipCondition.cs
- TextDpi.cs
- Clipboard.cs
- BaseValidator.cs
- XPathNodePointer.cs
- RegexWriter.cs
- RoleManagerSection.cs
- SoapMessage.cs
- ClientConfigurationSystem.cs
- LabelTarget.cs
- RecordConverter.cs
- Vector3DConverter.cs
- TimeSpanConverter.cs
- StyleSelector.cs
- HttpCookie.cs
- ToolStripSettings.cs
- ProviderConnectionPointCollection.cs
- HtmlInputControl.cs
- KnownBoxes.cs
- OleDbErrorCollection.cs
- TypefaceCollection.cs
- FixedDSBuilder.cs
- ProviderUtil.cs
- CallbackValidatorAttribute.cs
- IdentifierService.cs
- PrimitiveXmlSerializers.cs
- WCFBuildProvider.cs
- UInt32.cs
- DesigntimeLicenseContextSerializer.cs
- MessageBox.cs
- XPathPatternBuilder.cs
- HMACSHA256.cs
- SiteMapDataSourceDesigner.cs
- HttpDebugHandler.cs
- ShadowGlyph.cs
- ToolBarTray.cs
- MobileTextWriter.cs
- EventLogPermissionAttribute.cs
- EntityExpressionVisitor.cs
- TextTreeObjectNode.cs
- XmlQueryTypeFactory.cs
- MenuItemBindingCollection.cs
- Win32MouseDevice.cs
- XmlStreamStore.cs
- ProcessingInstructionAction.cs
- CorrelationResolver.cs
- HostExecutionContextManager.cs
- XmlSerializerOperationGenerator.cs
- CustomValidator.cs
- WebPart.cs
- SqlMethodAttribute.cs