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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- COSERVERINFO.cs
- VerificationException.cs
- SafeViewOfFileHandle.cs
- DocumentViewer.cs
- SafeBuffer.cs
- ArgumentException.cs
- WeakRefEnumerator.cs
- DataGridViewCellConverter.cs
- SettingsSavedEventArgs.cs
- SystemIPInterfaceProperties.cs
- WebEvents.cs
- ImageAutomationPeer.cs
- RSAOAEPKeyExchangeFormatter.cs
- DataListItemEventArgs.cs
- OracleMonthSpan.cs
- MSAANativeProvider.cs
- BaseDataBoundControl.cs
- ObjectItemNoOpAssemblyLoader.cs
- XmlSerializerOperationFormatter.cs
- ParenthesizePropertyNameAttribute.cs
- DataGridPagerStyle.cs
- TemplateInstanceAttribute.cs
- DataGridViewRowPostPaintEventArgs.cs
- SoapHeaderException.cs
- SizeConverter.cs
- WorkflowInstance.cs
- BamlRecordWriter.cs
- LineServices.cs
- DbDataReader.cs
- GeneralTransform2DTo3D.cs
- XmlSerializer.cs
- TPLETWProvider.cs
- PropertyValue.cs
- DataSourceView.cs
- HiddenFieldPageStatePersister.cs
- MatrixAnimationUsingKeyFrames.cs
- CodeMethodInvokeExpression.cs
- InternalConfigSettingsFactory.cs
- StrongNameKeyPair.cs
- ListViewItem.cs
- SecurityContext.cs
- InputLangChangeRequestEvent.cs
- FileRegion.cs
- CustomExpressionEventArgs.cs
- CompModSwitches.cs
- GenericXmlSecurityTokenAuthenticator.cs
- ExtentCqlBlock.cs
- FrugalList.cs
- UserUseLicenseDictionaryLoader.cs
- OutputCacheModule.cs
- SQLCharsStorage.cs
- RuleConditionDialog.cs
- ObjectDataSourceSelectingEventArgs.cs
- ExpressionConverter.cs
- PersonalizationDictionary.cs
- SqlDependencyListener.cs
- RegexGroupCollection.cs
- DbMetaDataColumnNames.cs
- HttpProfileBase.cs
- ISCIIEncoding.cs
- ServiceBusyException.cs
- NativeMethods.cs
- TextDecorationCollection.cs
- DescendantOverDescendantQuery.cs
- ResXResourceWriter.cs
- NameValuePair.cs
- MappingModelBuildProvider.cs
- QilTernary.cs
- DataGridViewRowStateChangedEventArgs.cs
- MemberAccessException.cs
- CatalogPart.cs
- TextAnchor.cs
- ConfigurationElementProperty.cs
- TemplateContent.cs
- ObjectSet.cs
- XmlnsCache.cs
- Base64Stream.cs
- AdRotatorDesigner.cs
- TrustLevelCollection.cs
- ExpanderAutomationPeer.cs
- ArraySortHelper.cs
- Int64Animation.cs
- UserInitiatedNavigationPermission.cs
- WebPartCatalogCloseVerb.cs
- BuildDependencySet.cs
- DbParameterHelper.cs
- TypeValidationEventArgs.cs
- ExpressionVisitor.cs
- ExpressionNode.cs
- AssociationTypeEmitter.cs
- EventItfInfo.cs
- XmlSchemaCompilationSettings.cs
- PagerSettings.cs
- Vector3DCollectionConverter.cs
- DataServiceQueryProvider.cs
- Soap12ProtocolImporter.cs
- ColumnBinding.cs
- ToolStripGripRenderEventArgs.cs
- ThousandthOfEmRealPoints.cs
- LocationSectionRecord.cs