Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / Permissions / UserInitiatedRoutedEventPermission.cs / 1305600 / UserInitiatedRoutedEventPermission.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 was moved into WindowsBase from PresentationCore since its corresponding // Attribute class 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] internal class UserInitiatedRoutedEventPermission : InternalParameterlessPermissionBase { public UserInitiatedRoutedEventPermission() : this(PermissionState.Unrestricted) { } public UserInitiatedRoutedEventPermission(PermissionState state): base(state) { } public override IPermission Copy() { // copy is easy there is no state ! return new UserInitiatedRoutedEventPermission(); } } } // 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
- ValidationRuleCollection.cs
- JavascriptCallbackResponseProperty.cs
- LocatorGroup.cs
- ClientApiGenerator.cs
- DataGridViewColumnHeaderCell.cs
- ServiceX509SecurityTokenProvider.cs
- SymbolPair.cs
- ExternalException.cs
- DbUpdateCommandTree.cs
- SafeEventLogWriteHandle.cs
- DbMetaDataFactory.cs
- RequestCacheEntry.cs
- MailWebEventProvider.cs
- PrintPreviewControl.cs
- BindingExpressionBase.cs
- ToolStripGripRenderEventArgs.cs
- DefaultEventAttribute.cs
- SharingService.cs
- InheritablePropertyChangeInfo.cs
- RegexRunner.cs
- StringCollectionMarkupSerializer.cs
- IApplicationTrustManager.cs
- SchemaImporter.cs
- ContainerUIElement3D.cs
- XmlSchemaSimpleType.cs
- GeneratedCodeAttribute.cs
- ComponentResourceKeyConverter.cs
- ErrorBehavior.cs
- DES.cs
- Compiler.cs
- CommandHelper.cs
- AddInController.cs
- ConsumerConnectionPoint.cs
- SqlFactory.cs
- AssemblyAttributesGoHere.cs
- RequestCache.cs
- MediaElement.cs
- XmlElementAttribute.cs
- ObjectCache.cs
- AppModelKnownContentFactory.cs
- CaseInsensitiveOrdinalStringComparer.cs
- SevenBitStream.cs
- SuppressMessageAttribute.cs
- LinkLabel.cs
- Brush.cs
- XpsFixedPageReaderWriter.cs
- DiagnosticTraceRecords.cs
- Bidi.cs
- ProcessThread.cs
- StrokeNodeEnumerator.cs
- BooleanFunctions.cs
- DateTimeConstantAttribute.cs
- WebWorkflowRole.cs
- Error.cs
- WasEndpointConfigContainer.cs
- MachinePropertyVariants.cs
- HMAC.cs
- RelationshipSet.cs
- XhtmlTextWriter.cs
- DataSourceProvider.cs
- LineSegment.cs
- CapabilitiesPattern.cs
- MissingManifestResourceException.cs
- SlipBehavior.cs
- SystemIPInterfaceProperties.cs
- Merger.cs
- NaturalLanguageHyphenator.cs
- OrderPreservingPipeliningMergeHelper.cs
- LOSFormatter.cs
- OracleConnection.cs
- SettingsAttributes.cs
- HttpListenerPrefixCollection.cs
- CodeSubDirectoriesCollection.cs
- Label.cs
- CommandManager.cs
- ResourceAttributes.cs
- SoapIncludeAttribute.cs
- RecognizerInfo.cs
- CardSpaceException.cs
- Normalization.cs
- ColumnResult.cs
- WindowsSlider.cs
- NamedPipeAppDomainProtocolHandler.cs
- TraceUtils.cs
- Parser.cs
- ObjectDisposedException.cs
- MSAAWinEventWrap.cs
- DisplayNameAttribute.cs
- AppDomainManager.cs
- SByte.cs
- AsymmetricKeyExchangeDeformatter.cs
- UIPropertyMetadata.cs
- MultiSelectRootGridEntry.cs
- EncryptedXml.cs
- Int16Converter.cs
- WizardDesigner.cs
- StylusButton.cs
- XmlSchemaSimpleTypeList.cs
- _HeaderInfo.cs
- ResourceReferenceExpression.cs