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
- WebControl.cs
- ErrorItem.cs
- WpfWebRequestHelper.cs
- RandomNumberGenerator.cs
- IisTraceWebEventProvider.cs
- WmlLinkAdapter.cs
- WebPartsPersonalizationAuthorization.cs
- MaskDesignerDialog.cs
- basemetadatamappingvisitor.cs
- XmlWriterSettings.cs
- ZipIOExtraFieldZip64Element.cs
- ReferencedAssembly.cs
- InfiniteTimeSpanConverter.cs
- TextRangeBase.cs
- CalendarDateRange.cs
- DbUpdateCommandTree.cs
- DrawingAttributeSerializer.cs
- TextSpanModifier.cs
- ContextBase.cs
- GeneralTransform3DTo2DTo3D.cs
- SafeProcessHandle.cs
- SpeechEvent.cs
- NullRuntimeConfig.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- StrokeCollectionDefaultValueFactory.cs
- HtmlInputRadioButton.cs
- ModelItemKeyValuePair.cs
- ColorConverter.cs
- BaseTemplateCodeDomTreeGenerator.cs
- SignalGate.cs
- SecurityHeaderElementInferenceEngine.cs
- BulletedListEventArgs.cs
- CodeTypeDeclarationCollection.cs
- EventPropertyMap.cs
- VirtualPathUtility.cs
- SqlDataSourceCommandParser.cs
- CacheChildrenQuery.cs
- OleDbInfoMessageEvent.cs
- SignatureDescription.cs
- PopupRoot.cs
- SymbolEqualComparer.cs
- StyleModeStack.cs
- DataGridViewCellPaintingEventArgs.cs
- CultureInfo.cs
- Cursor.cs
- validation.cs
- ConsoleTraceListener.cs
- SerializationSectionGroup.cs
- UnsafeNetInfoNativeMethods.cs
- DataViewSetting.cs
- SQLStringStorage.cs
- ControlTemplate.cs
- RuntimeIdentifierPropertyAttribute.cs
- CodePropertyReferenceExpression.cs
- OleDbEnumerator.cs
- MonthChangedEventArgs.cs
- SmtpNetworkElement.cs
- PropertyGeneratedEventArgs.cs
- Geometry3D.cs
- ErrorWebPart.cs
- CodeCatchClause.cs
- UnaryOperationBinder.cs
- SchemaCollectionCompiler.cs
- WebPartConnectionsCancelEventArgs.cs
- BrowsableAttribute.cs
- UnionCqlBlock.cs
- XmlElement.cs
- WorkflowPersistenceService.cs
- IDReferencePropertyAttribute.cs
- DesignerVerb.cs
- ComplexBindingPropertiesAttribute.cs
- RowToParametersTransformer.cs
- XmlChildNodes.cs
- ElementNotEnabledException.cs
- SerializerWriterEventHandlers.cs
- ViewCellRelation.cs
- StateRuntime.cs
- CodeNamespace.cs
- PointCollection.cs
- RedirectionProxy.cs
- ApplyTemplatesAction.cs
- BezierSegment.cs
- Single.cs
- HandleExceptionArgs.cs
- MultipartContentParser.cs
- PointAnimationClockResource.cs
- ConsumerConnectionPointCollection.cs
- AnnotationAdorner.cs
- Crypto.cs
- List.cs
- DetailsViewRow.cs
- DataListItemCollection.cs
- DesignerView.cs
- WebBrowser.cs
- SettingsContext.cs
- InputProcessorProfiles.cs
- CodeValidator.cs
- DispatcherSynchronizationContext.cs
- ContextDataSourceContextData.cs
- DefinitionUpdate.cs