Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / MS / Internal / permissions / UserInitiatedNavigationPermission.cs / 1 / UserInitiatedNavigationPermission.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Internal Permissions. // These are classes for permissions that will be asserted/demanded internally. // But will be granted in full-trust. // Only internal avalon code will assert these permissions. // // Using them allows the following: // We can have very specific targeted asserts. So for example instead of // a blanket assert for Unmanaged code instead we can have very granular permissiosn. // // They are still available by default in full-trust. // // Currently the only way to detect User-Initiated actions is for commands. // So by associating a custom permisison with a command we can very tightly scope // the set of operations allowed. // // History: // 09/12/05 : [....] - seperated UserInitiatedNaviagtionPermission from InternalPermission.cs // 02/28/05 : [....] - Created //--------------------------------------------------------------------------- using System; using System.Security; using System.Windows; using MS.Internal.Permissions; namespace MS.Internal.Permissions { internal class UserInitiatedNavigationPermission : InternalPermissionBase { public UserInitiatedNavigationPermission() : base() { } public override IPermission Copy() { // copy is easy there is no state ! return new UserInitiatedNavigationPermission(); } } } // 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
- UseAttributeSetsAction.cs
- BitmapCodecInfo.cs
- DbDataRecord.cs
- TemplateLookupAction.cs
- ListItemParagraph.cs
- SamlAuthenticationStatement.cs
- PrintDocument.cs
- AdornedElementPlaceholder.cs
- ObfuscationAttribute.cs
- PointLightBase.cs
- XmlRawWriterWrapper.cs
- PageTheme.cs
- x509utils.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- StylusPointPropertyId.cs
- SizeChangedInfo.cs
- SecurityKeyIdentifier.cs
- embossbitmapeffect.cs
- DataControlImageButton.cs
- Keyboard.cs
- Drawing.cs
- AbandonedMutexException.cs
- WebServiceClientProxyGenerator.cs
- Geometry3D.cs
- ReachPageContentSerializer.cs
- AnyReturnReader.cs
- Int64AnimationUsingKeyFrames.cs
- CodeTypeDeclarationCollection.cs
- XmlQueryOutput.cs
- oledbmetadatacolumnnames.cs
- DesignerForm.cs
- _NtlmClient.cs
- OptimizerPatterns.cs
- JsonReaderDelegator.cs
- FramingDecoders.cs
- LabelAutomationPeer.cs
- Internal.cs
- ItemContainerPattern.cs
- UInt32.cs
- XmlWhitespace.cs
- RequiredAttributeAttribute.cs
- Point3DCollection.cs
- ConfigXmlWhitespace.cs
- ConnectionPointConverter.cs
- StylusPlugInCollection.cs
- AccessText.cs
- DirtyTextRange.cs
- ObjectViewEntityCollectionData.cs
- BamlVersionHeader.cs
- QilNode.cs
- HttpCacheVary.cs
- DataTableReader.cs
- RequiredAttributeAttribute.cs
- ScalarOps.cs
- OutOfMemoryException.cs
- SqlUnionizer.cs
- DialogWindow.cs
- UserControlDocumentDesigner.cs
- SqlNode.cs
- RecipientInfo.cs
- XmlQueryOutput.cs
- SrgsGrammarCompiler.cs
- RelationshipConverter.cs
- ChtmlTextBoxAdapter.cs
- DPAPIProtectedConfigurationProvider.cs
- MatchSingleFxEngineOpcode.cs
- EntityClassGenerator.cs
- AutomationElement.cs
- BoundsDrawingContextWalker.cs
- GeometryGroup.cs
- FieldBuilder.cs
- RowToFieldTransformer.cs
- NamespaceList.cs
- XmlSerializerAssemblyAttribute.cs
- RepeatBehaviorConverter.cs
- BaseDataList.cs
- TypeRefElement.cs
- CalendarDesigner.cs
- CollectionDataContractAttribute.cs
- VirtualPath.cs
- DataSourceHelper.cs
- XmlNamedNodeMap.cs
- ScriptReferenceEventArgs.cs
- GridViewDeletedEventArgs.cs
- CodeSnippetTypeMember.cs
- WebConfigurationHost.cs
- XmlSchemaSimpleTypeRestriction.cs
- AnimationException.cs
- EntityDataSourceEntityTypeFilterItem.cs
- SplitContainer.cs
- FilteredAttributeCollection.cs
- ExceptionRoutedEventArgs.cs
- HttpModuleCollection.cs
- columnmapkeybuilder.cs
- EntryWrittenEventArgs.cs
- ToolStripLocationCancelEventArgs.cs
- PerfCounterSection.cs
- ChannelManager.cs
- DynamicDataRoute.cs
- BoolExpression.cs