Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / Security / RoleManagerEventArgs.cs / 1 / RoleManagerEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
* RoleManagerEventArgs class
*
* Copyright (c) 1999 Microsoft Corporation
*/
namespace System.Web.Security {
using System.Security.Principal;
using System.Security.Permissions;
///
/// The event argument passed to the RoleManager_GetRoles event.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class RoleManagerEventArgs : EventArgs {
private HttpContext _Context;
public bool RolesPopulated {
get { return _RolesPopulated;}
set {
_RolesPopulated = value;
}
}
private bool _RolesPopulated;
///
/// This is the HttpContext intrinsic - most
/// notably provides access to Request, Response, and User objects.
///
public HttpContext Context { get { return _Context;}}
///
/// Constructor
///
public RoleManagerEventArgs(HttpContext context) {
_Context = context;
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
/*
* RoleManagerEventArgs class
*
* Copyright (c) 1999 Microsoft Corporation
*/
namespace System.Web.Security {
using System.Security.Principal;
using System.Security.Permissions;
///
/// The event argument passed to the RoleManager_GetRoles event.
///
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class RoleManagerEventArgs : EventArgs {
private HttpContext _Context;
public bool RolesPopulated {
get { return _RolesPopulated;}
set {
_RolesPopulated = value;
}
}
private bool _RolesPopulated;
///
/// This is the HttpContext intrinsic - most
/// notably provides access to Request, Response, and User objects.
///
public HttpContext Context { get { return _Context;}}
///
/// Constructor
///
public RoleManagerEventArgs(HttpContext context) {
_Context = context;
}
}
}
// 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
- _RequestCacheProtocol.cs
- XDRSchema.cs
- PrePrepareMethodAttribute.cs
- PropertyToken.cs
- PageContentCollection.cs
- AlgoModule.cs
- SynchronizingStream.cs
- DataGridViewRowPostPaintEventArgs.cs
- AuthStoreRoleProvider.cs
- ListViewDeleteEventArgs.cs
- SQLDouble.cs
- ParseNumbers.cs
- EventHandlingScope.cs
- _ProxyRegBlob.cs
- MarkupObject.cs
- FormsAuthenticationUser.cs
- Light.cs
- XmlDataSourceView.cs
- NativeMethods.cs
- PlanCompiler.cs
- HierarchicalDataBoundControl.cs
- NameSpaceEvent.cs
- DurableInstanceManager.cs
- SmiGettersStream.cs
- __ConsoleStream.cs
- HandlerWithFactory.cs
- PersonalizableAttribute.cs
- EdmConstants.cs
- LabelAutomationPeer.cs
- XslException.cs
- LabelExpression.cs
- CheckBoxFlatAdapter.cs
- EmptyEnumerable.cs
- SchemaImporterExtensionsSection.cs
- GeneratedView.cs
- CompilerLocalReference.cs
- PersonalizablePropertyEntry.cs
- GridViewRowEventArgs.cs
- Soap.cs
- SplineKeyFrames.cs
- CodeRegionDirective.cs
- XhtmlBasicImageAdapter.cs
- ExpressionParser.cs
- Gdiplus.cs
- BrowserCapabilitiesFactoryBase.cs
- StringTraceRecord.cs
- Evaluator.cs
- SqlInfoMessageEvent.cs
- webproxy.cs
- StandardCommands.cs
- PointLightBase.cs
- SerializationObjectManager.cs
- SizeChangedInfo.cs
- FieldNameLookup.cs
- DiscoveryUtility.cs
- LayoutManager.cs
- DateTimeConstantAttribute.cs
- ConnectionStringsExpressionBuilder.cs
- COM2Enum.cs
- As.cs
- DependencyPropertyAttribute.cs
- CallContext.cs
- SR.cs
- TextShapeableCharacters.cs
- DataPagerCommandEventArgs.cs
- DataTemplateKey.cs
- KnownIds.cs
- XmlSchemaExporter.cs
- odbcmetadatacolumnnames.cs
- UnsafeNativeMethods.cs
- _WinHttpWebProxyDataBuilder.cs
- GroupByExpressionRewriter.cs
- XmlSchemaExternal.cs
- StructuralComparisons.cs
- webeventbuffer.cs
- ExceptionHandler.cs
- RegistryKey.cs
- ETagAttribute.cs
- ConfigXmlAttribute.cs
- AuthenticationException.cs
- configsystem.cs
- NavigatorOutput.cs
- Flowchart.cs
- ObjectListItem.cs
- TabControlCancelEvent.cs
- TextOutput.cs
- SoapReflectionImporter.cs
- ToolBar.cs
- DataServiceHost.cs
- CompoundFileDeflateTransform.cs
- ObjectStorage.cs
- COM2ComponentEditor.cs
- XMLSyntaxException.cs
- GridSplitterAutomationPeer.cs
- GridViewRowPresenterBase.cs
- ServiceDescriptionContext.cs
- CultureData.cs
- PasswordBoxAutomationPeer.cs
- ReadOnlyTernaryTree.cs
- QueryLifecycle.cs