Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / Permissions / UserInitiatedRoutedEventPermissionAttribute.cs / 1305600 / UserInitiatedRoutedEventPermissionAttribute.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // //--------------------------------------------------------------------------- using System; using System.Security; using System.Security.Permissions; using System.Windows; using MS.Internal.Permissions; namespace MS.Internal.Permissions { // This permission attribute was defined in WindowsBase since it must be defined in // a seperate assembly from where it is used (PresentationCore). The reason for this is explained // in the following connect article. The MSDN documentation has yet to be updated: // https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=297627 [Serializable] [AttributeUsage(AttributeTargets.Method)] sealed internal class UserInitiatedRoutedEventPermissionAttribute : CodeAccessSecurityAttribute { private static UserInitiatedRoutedEventPermission _perm; public UserInitiatedRoutedEventPermissionAttribute(SecurityAction action): base(action) { } public override IPermission CreatePermission() { if (_perm == null) { _perm = new UserInitiatedRoutedEventPermission(); } return _perm; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- X509Extension.cs
- Int32Collection.cs
- CssClassPropertyAttribute.cs
- DesignerActionUI.cs
- NetTcpSectionData.cs
- CollectionChangedEventManager.cs
- SqlInternalConnectionTds.cs
- WebPartDisplayModeCollection.cs
- SQLStringStorage.cs
- RotationValidation.cs
- IsolatedStorageException.cs
- AppDomainAttributes.cs
- SoapCommonClasses.cs
- RepeatButtonAutomationPeer.cs
- ParameterToken.cs
- DataGridHyperlinkColumn.cs
- BinaryReader.cs
- NeutralResourcesLanguageAttribute.cs
- TemplateColumn.cs
- StringKeyFrameCollection.cs
- LayoutInformation.cs
- EpmAttributeNameBuilder.cs
- MetaColumn.cs
- AuthorizationRule.cs
- TabPageDesigner.cs
- IISUnsafeMethods.cs
- WebPartMenu.cs
- TypeInitializationException.cs
- StyleModeStack.cs
- MultiplexingDispatchMessageFormatter.cs
- SingleObjectCollection.cs
- Path.cs
- SuppressMessageAttribute.cs
- IntSecurity.cs
- Buffer.cs
- GridViewActionList.cs
- CustomAttributeBuilder.cs
- MultiBindingExpression.cs
- EditableLabelControl.cs
- Light.cs
- HtmlInputControl.cs
- DecimalKeyFrameCollection.cs
- TextServicesManager.cs
- SplineKeyFrames.cs
- HttpPostClientProtocol.cs
- Literal.cs
- SR.cs
- XmlJsonWriter.cs
- AccessibleObject.cs
- TableLayoutPanelCellPosition.cs
- ErasingStroke.cs
- HtmlInputText.cs
- WeakHashtable.cs
- DBParameter.cs
- BufferModesCollection.cs
- KeyedHashAlgorithm.cs
- PersonalizationState.cs
- CheckBox.cs
- WebPartEditorCancelVerb.cs
- SymbolTable.cs
- TextRangeProviderWrapper.cs
- NullableDoubleAverageAggregationOperator.cs
- ContentPathSegment.cs
- WebHttpSecurityModeHelper.cs
- HttpHeaderCollection.cs
- webbrowsersite.cs
- DrawTreeNodeEventArgs.cs
- AutomationElementCollection.cs
- PagesSection.cs
- ToolStripItemRenderEventArgs.cs
- ContextStack.cs
- DetailsViewDeletedEventArgs.cs
- PopupRootAutomationPeer.cs
- AggregateNode.cs
- PersonalizationEntry.cs
- WindowsBrush.cs
- DeclarativeCatalogPart.cs
- StatusBarDesigner.cs
- BamlRecords.cs
- XmlElementCollection.cs
- PrintingPermissionAttribute.cs
- WebPartConnectionsCancelVerb.cs
- DbConnectionInternal.cs
- IssuanceLicense.cs
- DocobjHost.cs
- Deserializer.cs
- RequestQueryProcessor.cs
- XmlAttributeAttribute.cs
- TypeConvertions.cs
- webeventbuffer.cs
- NamespaceCollection.cs
- PageClientProxyGenerator.cs
- Inline.cs
- ClientFormsAuthenticationMembershipProvider.cs
- RequestChannel.cs
- CodeMemberEvent.cs
- PathGradientBrush.cs
- ISAPIRuntime.cs
- DataTableReader.cs
- Button.cs