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
- DefaultEventAttribute.cs
- DictionarySectionHandler.cs
- ScriptBehaviorDescriptor.cs
- UnmanagedMemoryStream.cs
- embossbitmapeffect.cs
- XmlDataDocument.cs
- AttributeConverter.cs
- ToggleProviderWrapper.cs
- IndexedString.cs
- SqlTriggerAttribute.cs
- EntryWrittenEventArgs.cs
- SamlConstants.cs
- DocumentXPathNavigator.cs
- PropertyGeneratedEventArgs.cs
- ColorPalette.cs
- Stack.cs
- Rotation3DKeyFrameCollection.cs
- GcSettings.cs
- linebase.cs
- VersionedStream.cs
- MetadataConversionError.cs
- TableRowCollection.cs
- SelectionRange.cs
- TrustLevel.cs
- XPathDocument.cs
- Events.cs
- TextCompositionManager.cs
- ReliableChannelListener.cs
- FreeFormDragDropManager.cs
- Thickness.cs
- XmlSchemaInfo.cs
- FormViewPageEventArgs.cs
- Add.cs
- XmlWrappingReader.cs
- CharacterBufferReference.cs
- SchemaImporter.cs
- JsonReaderDelegator.cs
- ListenerElementsCollection.cs
- DoubleAnimation.cs
- AttributeData.cs
- RegisteredHiddenField.cs
- WindowsGraphicsCacheManager.cs
- ExcludeFromCodeCoverageAttribute.cs
- baseaxisquery.cs
- SafeProcessHandle.cs
- SmtpNegotiateAuthenticationModule.cs
- ObjectManager.cs
- ChannelListenerBase.cs
- RadioButtonPopupAdapter.cs
- FixedPageProcessor.cs
- TargetControlTypeCache.cs
- RemotingAttributes.cs
- ToolStripContentPanelRenderEventArgs.cs
- FloaterParaClient.cs
- OrderedDictionaryStateHelper.cs
- SafeCoTaskMem.cs
- TerminatorSinks.cs
- ThreadStartException.cs
- BaseParser.cs
- PenLineCapValidation.cs
- Process.cs
- WorkflowInstanceContextProvider.cs
- DefaultBinder.cs
- ScriptIgnoreAttribute.cs
- BamlLocalizableResourceKey.cs
- Solver.cs
- StreamSecurityUpgradeInitiatorBase.cs
- JsonDataContract.cs
- Screen.cs
- DateTimeFormatInfo.cs
- StateBag.cs
- DataServiceClientException.cs
- MenuRendererStandards.cs
- RouteItem.cs
- Encoder.cs
- BindStream.cs
- LicFileLicenseProvider.cs
- _SSPISessionCache.cs
- RuntimeConfig.cs
- HttpServerVarsCollection.cs
- ScriptComponentDescriptor.cs
- WebDisplayNameAttribute.cs
- StateDesigner.TransitionInfo.cs
- ReadonlyMessageFilter.cs
- Ipv6Element.cs
- PlanCompiler.cs
- StylusPoint.cs
- TextEmbeddedObject.cs
- DataGridColumnsPage.cs
- SimpleType.cs
- ApplicationFileParser.cs
- InputGestureCollection.cs
- RadioButtonList.cs
- SamlSerializer.cs
- DefaultPropertyAttribute.cs
- XsdBuilder.cs
- EasingKeyFrames.cs
- CheckBoxPopupAdapter.cs
- WebPartConnectionsCloseVerb.cs
- DocumentViewerAutomationPeer.cs