Code:
/ FX-1434 / FX-1434 / 1.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
- BypassElement.cs
- CompileLiteralTextParser.cs
- AddInStore.cs
- AdapterDictionary.cs
- Module.cs
- DuplicateWaitObjectException.cs
- ProxyHelper.cs
- StatusStrip.cs
- HandlerBase.cs
- ConfigXmlComment.cs
- HwndStylusInputProvider.cs
- QueryInterceptorAttribute.cs
- DaylightTime.cs
- PropertyCondition.cs
- EntityViewGenerator.cs
- StringUtil.cs
- TableLayoutStyle.cs
- ClientViaElement.cs
- TemplateXamlParser.cs
- RectConverter.cs
- DataGridRow.cs
- DefaultEventAttribute.cs
- LeafCellTreeNode.cs
- XmlIlGenerator.cs
- MappedMetaModel.cs
- HttpCapabilitiesSectionHandler.cs
- CatalogZoneBase.cs
- EventLogTraceListener.cs
- InputProcessorProfilesLoader.cs
- _SslSessionsCache.cs
- RuleConditionDialog.Designer.cs
- PackageStore.cs
- NativeActivityMetadata.cs
- ValidationHelpers.cs
- DeploymentSectionCache.cs
- XamlInt32CollectionSerializer.cs
- DelegateBodyWriter.cs
- WeakRefEnumerator.cs
- SqlDataSource.cs
- X509Certificate2Collection.cs
- TreeView.cs
- MemoryMappedView.cs
- UInt64.cs
- ProfilePropertyNameValidator.cs
- HttpCapabilitiesBase.cs
- X509PeerCertificateAuthenticationElement.cs
- OleDbError.cs
- KeyInfo.cs
- ImageDesigner.cs
- MethodRental.cs
- XmlValidatingReader.cs
- ScrollChrome.cs
- MessageSecurityVersionConverter.cs
- DataSourceControlBuilder.cs
- ProtocolsConfiguration.cs
- XmlStringTable.cs
- ClockGroup.cs
- ControlCollection.cs
- LayoutManager.cs
- SQLGuid.cs
- TypeBuilder.cs
- ServicePointManagerElement.cs
- GraphicsContext.cs
- GridViewAutomationPeer.cs
- InputElement.cs
- SignatureResourcePool.cs
- IntegerValidatorAttribute.cs
- COM2PropertyDescriptor.cs
- CookielessHelper.cs
- FieldNameLookup.cs
- PersistenceTypeAttribute.cs
- RecordsAffectedEventArgs.cs
- ThicknessAnimationUsingKeyFrames.cs
- NullableLongSumAggregationOperator.cs
- DesignTimeData.cs
- SqlDeflator.cs
- PropertyDescriptorCollection.cs
- ServiceAuthorizationElement.cs
- GradientStop.cs
- DetailsViewUpdateEventArgs.cs
- StylusPointPropertyUnit.cs
- SafeWaitHandle.cs
- RewritingPass.cs
- DateTimePicker.cs
- MonthCalendar.cs
- MimeParameterWriter.cs
- HtmlInputButton.cs
- TableRowGroup.cs
- _IPv4Address.cs
- FormsAuthenticationModule.cs
- LocatorManager.cs
- TreeBuilderXamlTranslator.cs
- Geometry3D.cs
- SafeFileHandle.cs
- TextEffect.cs
- CompoundFileDeflateTransform.cs
- XmlSerializerNamespaces.cs
- ObjectViewListener.cs
- GroupByQueryOperator.cs
- ZoneLinkButton.cs