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
- CodeVariableDeclarationStatement.cs
- DynamicAttribute.cs
- ValidationResult.cs
- XmlSchemaSimpleTypeUnion.cs
- RecognitionResult.cs
- XmlSchemaRedefine.cs
- DbConnectionPool.cs
- WebBrowserPermission.cs
- ObjectSet.cs
- DictionaryCustomTypeDescriptor.cs
- GeneralTransform2DTo3DTo2D.cs
- TreeNodeCollection.cs
- WindowClosedEventArgs.cs
- ConnectionProviderAttribute.cs
- MailHeaderInfo.cs
- DoWorkEventArgs.cs
- RoleServiceManager.cs
- SubMenuStyleCollectionEditor.cs
- BitmapEffect.cs
- FormViewAutoFormat.cs
- HealthMonitoringSection.cs
- WSDualHttpSecurityElement.cs
- AlternationConverter.cs
- StylusCollection.cs
- Help.cs
- RemotingException.cs
- UIElementParagraph.cs
- MenuEventArgs.cs
- EventWaitHandleSecurity.cs
- DataError.cs
- StateChangeEvent.cs
- XmlSchemaIdentityConstraint.cs
- BufferBuilder.cs
- TableRow.cs
- IOThreadTimer.cs
- ManifestSignedXml.cs
- CrossContextChannel.cs
- dataSvcMapFileLoader.cs
- WhitespaceRule.cs
- XslAstAnalyzer.cs
- PriorityQueue.cs
- TemplateControlCodeDomTreeGenerator.cs
- RelationshipSet.cs
- ThreadInterruptedException.cs
- EventWaitHandleSecurity.cs
- Propagator.cs
- TextBoxAutoCompleteSourceConverter.cs
- SudsParser.cs
- OfTypeExpression.cs
- ReservationNotFoundException.cs
- CheckPair.cs
- RunWorkerCompletedEventArgs.cs
- WindowsListViewSubItem.cs
- Condition.cs
- _BufferOffsetSize.cs
- TypeConverterHelper.cs
- ConfigPathUtility.cs
- XmlStringTable.cs
- _AutoWebProxyScriptEngine.cs
- StreamWriter.cs
- WebControlsSection.cs
- ipaddressinformationcollection.cs
- System.Data_BID.cs
- EventLogPermissionAttribute.cs
- WorkflowMarkupSerializationException.cs
- X509Certificate2.cs
- ContainerParaClient.cs
- BasicViewGenerator.cs
- SqlCachedBuffer.cs
- ServiceModelSecurityTokenTypes.cs
- UrlMapping.cs
- WindowsAuthenticationEventArgs.cs
- TableLayoutRowStyleCollection.cs
- DataListItem.cs
- RecommendedAsConfigurableAttribute.cs
- ContainerParagraph.cs
- HtmlInputFile.cs
- HtmlElementErrorEventArgs.cs
- ZipIOExtraFieldPaddingElement.cs
- PerformanceCounterManager.cs
- BlobPersonalizationState.cs
- printdlgexmarshaler.cs
- SiteMap.cs
- StreamMarshaler.cs
- MemoryMappedViewStream.cs
- PeerIPHelper.cs
- StrokeNodeOperations.cs
- HtmlInputCheckBox.cs
- PortCache.cs
- ResolvedKeyFrameEntry.cs
- DataGridClipboardCellContent.cs
- IdentifierCollection.cs
- TreeBuilderBamlTranslator.cs
- StateDesignerConnector.cs
- PropertyGroupDescription.cs
- RelatedView.cs
- HttpCapabilitiesBase.cs
- AutomationPattern.cs
- ElementProxy.cs
- TypeInformation.cs