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
- HttpCookie.cs
- SystemIPInterfaceStatistics.cs
- ValidatorAttribute.cs
- AuthenticationService.cs
- CollectionViewGroupRoot.cs
- XamlRtfConverter.cs
- PolicyImporterElementCollection.cs
- SqlDependencyListener.cs
- SqlProfileProvider.cs
- SoapSchemaImporter.cs
- ConfigXmlSignificantWhitespace.cs
- _PooledStream.cs
- IndividualDeviceConfig.cs
- MobileControlsSectionHelper.cs
- DecoderNLS.cs
- IsolatedStorageException.cs
- RegexBoyerMoore.cs
- WebPartCatalogCloseVerb.cs
- EventRoute.cs
- ValidationPropertyAttribute.cs
- UpdateExpressionVisitor.cs
- CombinedGeometry.cs
- FixedSOMGroup.cs
- TextProviderWrapper.cs
- MimeFormatExtensions.cs
- TiffBitmapEncoder.cs
- ListViewItem.cs
- WebPartEditVerb.cs
- Context.cs
- FilterQuery.cs
- MouseGestureConverter.cs
- CrossSiteScriptingValidation.cs
- CmsInterop.cs
- ObjectReaderCompiler.cs
- ProfileService.cs
- HtmlUtf8RawTextWriter.cs
- BatchServiceHost.cs
- CompatibleIComparer.cs
- CompiledQuery.cs
- InputMethod.cs
- LinqDataSourceDeleteEventArgs.cs
- ResourceProperty.cs
- TextRangeProviderWrapper.cs
- WriteableOnDemandPackagePart.cs
- PageThemeCodeDomTreeGenerator.cs
- XsdBuildProvider.cs
- BamlTreeNode.cs
- MessageLoggingElement.cs
- TreeNodeBinding.cs
- PerfService.cs
- StorageSetMapping.cs
- WebPartEventArgs.cs
- HttpCookie.cs
- DispatchWrapper.cs
- CheckBoxList.cs
- QuaternionAnimation.cs
- CompositeFontFamily.cs
- FamilyCollection.cs
- SafeEventLogReadHandle.cs
- AliasedSlot.cs
- CodeMemberField.cs
- Typography.cs
- DaylightTime.cs
- AssemblyName.cs
- DataGridPageChangedEventArgs.cs
- TCEAdapterGenerator.cs
- HandlerBase.cs
- SecurityTokenTypes.cs
- X509ChainPolicy.cs
- UnsettableComboBox.cs
- FirstMatchCodeGroup.cs
- XamlWriter.cs
- Type.cs
- AnyReturnReader.cs
- FormatSettings.cs
- PassportIdentity.cs
- DisableDpiAwarenessAttribute.cs
- DirectoryRedirect.cs
- ClearTypeHintValidation.cs
- ConnectionStringsSection.cs
- CurrencyWrapper.cs
- UserControlFileEditor.cs
- WebInvokeAttribute.cs
- HebrewCalendar.cs
- JulianCalendar.cs
- DecimalAnimationBase.cs
- ExceptionUtil.cs
- PolygonHotSpot.cs
- ThaiBuddhistCalendar.cs
- AssemblyInfo.cs
- DbExpressionRules.cs
- HttpApplicationFactory.cs
- CalendarDateChangedEventArgs.cs
- XPathScanner.cs
- OdbcParameter.cs
- StateManagedCollection.cs
- ActiveXContainer.cs
- XmlSerializerAssemblyAttribute.cs
- Substitution.cs
- IgnoreSection.cs