Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartAuthorizationEventArgs.cs / 1305376 / WebPartAuthorizationEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PreProcessor.cs
- CopyNodeSetAction.cs
- DisplayNameAttribute.cs
- XdrBuilder.cs
- SafeArrayTypeMismatchException.cs
- EventMappingSettingsCollection.cs
- OLEDB_Util.cs
- HtmlControl.cs
- HashHelper.cs
- SecurityDescriptor.cs
- EnumerableRowCollection.cs
- WindowsEditBoxRange.cs
- DateTime.cs
- AdapterUtil.cs
- EventToken.cs
- XmlAtomicValue.cs
- RichTextBoxAutomationPeer.cs
- WebServiceFaultDesigner.cs
- SchemaTableOptionalColumn.cs
- X509PeerCertificateElement.cs
- EventMemberCodeDomSerializer.cs
- CryptoHelper.cs
- DiagnosticsConfigurationHandler.cs
- NestedContainer.cs
- ModelTreeEnumerator.cs
- ImpersonationContext.cs
- StrongNameMembershipCondition.cs
- MobileUserControlDesigner.cs
- PreProcessInputEventArgs.cs
- SettingsPropertyValueCollection.cs
- ScrollViewerAutomationPeer.cs
- Table.cs
- EdmProperty.cs
- ObjectConverter.cs
- PreviewKeyDownEventArgs.cs
- HttpFileCollection.cs
- GeometryHitTestParameters.cs
- ErrorRuntimeConfig.cs
- SqlFunctionAttribute.cs
- ExtenderControl.cs
- ComplexObject.cs
- TagMapInfo.cs
- BamlTreeNode.cs
- BackStopAuthenticationModule.cs
- TableLayoutPanel.cs
- AppDomainProtocolHandler.cs
- PersonalizationEntry.cs
- RadioButtonAutomationPeer.cs
- SafeCertificateContext.cs
- ParseChildrenAsPropertiesAttribute.cs
- CompilationRelaxations.cs
- Timer.cs
- ListMarkerLine.cs
- MarkupObject.cs
- Normalization.cs
- MediaPlayer.cs
- PointAnimationClockResource.cs
- DocumentPageTextView.cs
- ConsoleTraceListener.cs
- AliasGenerator.cs
- Compiler.cs
- tabpagecollectioneditor.cs
- ChangeDirector.cs
- SmtpException.cs
- CodeVariableDeclarationStatement.cs
- MainMenu.cs
- contentDescriptor.cs
- BinaryParser.cs
- SiteMapNodeItemEventArgs.cs
- ScaleTransform.cs
- EventSetterHandlerConverter.cs
- InfoCardProofToken.cs
- TreeIterator.cs
- MetadataExporter.cs
- EntityModelSchemaGenerator.cs
- MemoryRecordBuffer.cs
- NonBatchDirectoryCompiler.cs
- CharEntityEncoderFallback.cs
- Int32Animation.cs
- ProfileWorkflowElement.cs
- Html32TextWriter.cs
- OleDbReferenceCollection.cs
- NamedPermissionSet.cs
- FigureHelper.cs
- SqlServices.cs
- GifBitmapDecoder.cs
- RestHandler.cs
- SoapFormatter.cs
- WindowsScroll.cs
- SourceFileInfo.cs
- EditorPartChrome.cs
- SafeMILHandle.cs
- SizeChangedEventArgs.cs
- ComAwareEventInfo.cs
- CodeAttributeArgumentCollection.cs
- SQLInt16.cs
- TypeConstant.cs
- ReliabilityContractAttribute.cs
- AutoSizeComboBox.cs
- TypeResolver.cs