Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartAuthorizationEventArgs.cs / 1 / WebPartAuthorizationEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; using System.Security.Permissions; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class WebPartAuthorizationEventArgs : EventArgs { private Type _type; private string _path; private string _authorizationFilter; private bool _isShared; private bool _isAuthorized; public WebPartAuthorizationEventArgs(Type type, string path, string authorizationFilter, bool isShared) { _type = type; _path = path; _authorizationFilter = authorizationFilter; _isShared = isShared; _isAuthorized = true; } public string AuthorizationFilter { get { return _authorizationFilter; } } public bool IsAuthorized { get { return _isAuthorized; } set { _isAuthorized = value; } } public bool IsShared { get { return _isShared; } } public string Path { get { return _path; } } public Type Type { get { return _type; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ColumnResizeUndoUnit.cs
- DecimalAnimationBase.cs
- UrlMappingsSection.cs
- FixedElement.cs
- MetafileEditor.cs
- DesignColumn.cs
- ZoneButton.cs
- DateTimeOffset.cs
- TypeUtil.cs
- Misc.cs
- BackStopAuthenticationModule.cs
- WithParamAction.cs
- DbTransaction.cs
- RuntimeConfigLKG.cs
- GridViewRow.cs
- TypeConstant.cs
- ServicePoint.cs
- ProfessionalColorTable.cs
- PageAction.cs
- COAUTHINFO.cs
- GridItemCollection.cs
- ChannelTracker.cs
- CharUnicodeInfo.cs
- Visitor.cs
- LocalBuilder.cs
- StoreContentChangedEventArgs.cs
- xmlfixedPageInfo.cs
- ImageMap.cs
- ProcessingInstructionAction.cs
- Native.cs
- ListSortDescriptionCollection.cs
- SelectingProviderEventArgs.cs
- DesignerActionUIStateChangeEventArgs.cs
- AuthenticationService.cs
- MarshalDirectiveException.cs
- RotateTransform.cs
- LinqDataSourceValidationException.cs
- InlineObject.cs
- UserControlParser.cs
- SequenceFullException.cs
- UnSafeCharBuffer.cs
- InternalTypeHelper.cs
- MessageTransmitTraceRecord.cs
- InvalidDataException.cs
- ImageAutomationPeer.cs
- XmlSchemaSubstitutionGroup.cs
- ReflectionHelper.cs
- BehaviorEditorPart.cs
- WebEncodingValidator.cs
- NameSpaceEvent.cs
- PropertyItemInternal.cs
- StackBuilderSink.cs
- ReferenceService.cs
- SafeArrayTypeMismatchException.cs
- ObjectComplexPropertyMapping.cs
- TextEndOfLine.cs
- TheQuery.cs
- NonSerializedAttribute.cs
- TreeViewHitTestInfo.cs
- LinearKeyFrames.cs
- HtmlTableRow.cs
- SigningCredentials.cs
- ProviderCollection.cs
- TitleStyle.cs
- ReadOnlyTernaryTree.cs
- DynamicPhysicalDiscoSearcher.cs
- OleDbInfoMessageEvent.cs
- OpCodes.cs
- BitVector32.cs
- TerminateWorkflow.cs
- ThreadAbortException.cs
- _Events.cs
- AssemblyResourceLoader.cs
- OptimisticConcurrencyException.cs
- CfgArc.cs
- BitmapSizeOptions.cs
- FormsAuthentication.cs
- AccessibleObject.cs
- TabItemAutomationPeer.cs
- EdmMember.cs
- SizeFConverter.cs
- ExceptionValidationRule.cs
- ToolStripPanelSelectionBehavior.cs
- Int32Animation.cs
- EventHandlerService.cs
- DataGridLinkButton.cs
- SqlIdentifier.cs
- PeerTransportSecurityElement.cs
- MetadataHelper.cs
- HttpProfileGroupBase.cs
- SequentialActivityDesigner.cs
- VersionConverter.cs
- ReferencedAssemblyResolver.cs
- BitmapEffectDrawingContent.cs
- XmlFormatExtensionPointAttribute.cs
- CodeAccessSecurityEngine.cs
- BitConverter.cs
- ParameterSubsegment.cs
- NamedObject.cs
- CancellationTokenRegistration.cs