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
- ResourceContainer.cs
- HelloOperation11AsyncResult.cs
- OracleParameter.cs
- Vector3DCollectionValueSerializer.cs
- PropertyItemInternal.cs
- DockAndAnchorLayout.cs
- RepeatInfo.cs
- MenuRendererClassic.cs
- OverlappedAsyncResult.cs
- IERequestCache.cs
- NamespaceMapping.cs
- DataGridViewRow.cs
- GridPattern.cs
- NoClickablePointException.cs
- SelectionEditingBehavior.cs
- IOException.cs
- Latin1Encoding.cs
- SortFieldComparer.cs
- ProxyWebPartConnectionCollection.cs
- SmtpMail.cs
- MouseEvent.cs
- TripleDESCryptoServiceProvider.cs
- FileAuthorizationModule.cs
- DocumentsTrace.cs
- DataService.cs
- ChildDocumentBlock.cs
- MembershipValidatePasswordEventArgs.cs
- DesignerActionUIService.cs
- _NtlmClient.cs
- CopyAction.cs
- ProfileGroupSettings.cs
- CodeSnippetTypeMember.cs
- WindowsListView.cs
- UInt32Converter.cs
- SettingsPropertyValue.cs
- Cursors.cs
- WinFormsUtils.cs
- TemplateBindingExpression.cs
- Keyboard.cs
- NativeMethods.cs
- OptimizedTemplateContent.cs
- LicenseException.cs
- PseudoWebRequest.cs
- HuffmanTree.cs
- FixedSOMPageConstructor.cs
- HtmlSelect.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- NumberFormatInfo.cs
- invalidudtexception.cs
- DistributedTransactionPermission.cs
- DataGridViewCellPaintingEventArgs.cs
- MobileComponentEditorPage.cs
- PersonalizablePropertyEntry.cs
- Color.cs
- SettingsProperty.cs
- OptimalTextSource.cs
- ExtensionDataObject.cs
- Options.cs
- TemplateXamlParser.cs
- SHA256Managed.cs
- externdll.cs
- StringValueConverter.cs
- RoutedEventArgs.cs
- MessageSecurityOverHttp.cs
- CollectionMarkupSerializer.cs
- TransformPattern.cs
- FixedSOMLineRanges.cs
- XmlAttributes.cs
- webproxy.cs
- CodeArgumentReferenceExpression.cs
- HashJoinQueryOperatorEnumerator.cs
- RegistryKey.cs
- InputBinding.cs
- ToolStripLocationCancelEventArgs.cs
- UnsignedPublishLicense.cs
- ConstraintEnumerator.cs
- TextDecoration.cs
- IdentityReference.cs
- Trace.cs
- DbConnectionInternal.cs
- OverrideMode.cs
- VisualTreeUtils.cs
- ListViewDeleteEventArgs.cs
- ScrollContentPresenter.cs
- CacheSection.cs
- Pair.cs
- PropertyChangedEventArgs.cs
- XmlSchemaElement.cs
- DataReaderContainer.cs
- InstanceDataCollectionCollection.cs
- PropertyMapper.cs
- AutomationPropertyChangedEventArgs.cs
- OutgoingWebResponseContext.cs
- CompilerScope.Storage.cs
- ObjectDisposedException.cs
- CodeAttributeArgumentCollection.cs
- _Rfc2616CacheValidators.cs
- TTSEngineProxy.cs
- KnownBoxes.cs
- XmlAtomicValue.cs