Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Profile / HttpProfileGroupBase.cs / 1 / HttpProfileGroupBase.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* * ProfileGroupBase * * Copyright (c) 2002 Microsoft Corporation */ namespace System.Web.Profile { using System.Security.Principal; using System.Security.Permissions; using System.Collections; using System.Collections.Specialized; using System.Web.Configuration; using System.Web.Util; using System.Web.Security; [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ProfileGroupBase { public object this[string propertyName] { get { return _Parent[_MyName + propertyName];} set { _Parent[_MyName + propertyName] = value; } } public object GetPropertyValue(string propertyName) { return _Parent[_MyName + propertyName]; } public void SetPropertyValue(string propertyName, object propertyValue) { _Parent[_MyName + propertyName] = propertyValue; } //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// public ProfileGroupBase() { _Parent = null; _MyName = null; } public void Init(ProfileBase parent, string myName) { if (_Parent == null) { _Parent = parent; _MyName = myName + "."; } } private string _MyName; private ProfileBase _Parent; } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ErrorStyle.cs
- SpotLight.cs
- SqlSupersetValidator.cs
- TiffBitmapEncoder.cs
- TrustLevelCollection.cs
- CompilationUnit.cs
- SystemThemeKey.cs
- UnauthorizedWebPart.cs
- Comparer.cs
- EventBuilder.cs
- Profiler.cs
- CustomError.cs
- XmlArrayAttribute.cs
- XhtmlConformanceSection.cs
- NativeWindow.cs
- EventHandlerList.cs
- TrackingMemoryStream.cs
- HostAdapter.cs
- AssemblyUtil.cs
- HelpInfo.cs
- SqlInternalConnectionTds.cs
- CreateRefExpr.cs
- SystemColorTracker.cs
- Metadata.cs
- FamilyMap.cs
- StreamWithDictionary.cs
- SpnEndpointIdentity.cs
- MarkupProperty.cs
- RemoteX509AsymmetricSecurityKey.cs
- DefaultValueMapping.cs
- CodeGotoStatement.cs
- LicenseContext.cs
- InvokeBase.cs
- LinkedDataMemberFieldEditor.cs
- StrongNameUtility.cs
- AdRotator.cs
- ToolStripStatusLabel.cs
- SafeFindHandle.cs
- ZipFileInfoCollection.cs
- SetUserLanguageRequest.cs
- TextSearch.cs
- ReflectionUtil.cs
- Parser.cs
- HttpContext.cs
- ByteConverter.cs
- PositiveTimeSpanValidator.cs
- ZipIOExtraFieldElement.cs
- DurableErrorHandler.cs
- Rss20FeedFormatter.cs
- BuilderPropertyEntry.cs
- XamlPoint3DCollectionSerializer.cs
- XomlCompilerResults.cs
- TextTreeNode.cs
- TextParagraphProperties.cs
- ToolboxItemImageConverter.cs
- DataBoundControlHelper.cs
- BindingCompleteEventArgs.cs
- SettingsSection.cs
- HMACMD5.cs
- AutoResizedEvent.cs
- XamlReader.cs
- SystemInformation.cs
- HtmlEmptyTagControlBuilder.cs
- FormsIdentity.cs
- EntityClientCacheKey.cs
- FixedSOMPageElement.cs
- PluralizationService.cs
- TimeoutException.cs
- LassoSelectionBehavior.cs
- ArrayElementGridEntry.cs
- StringHandle.cs
- StyleSheetDesigner.cs
- ToolStripItemDataObject.cs
- ResourceSetExpression.cs
- BlurEffect.cs
- FixedPageAutomationPeer.cs
- Attribute.cs
- ParsedAttributeCollection.cs
- MsmqIntegrationInputChannel.cs
- WebBrowserPermission.cs
- SafeLibraryHandle.cs
- Wildcard.cs
- DataSpaceManager.cs
- ProxyFragment.cs
- ThreadStaticAttribute.cs
- ExceptionWrapper.cs
- XMLDiffLoader.cs
- ClientData.cs
- _LocalDataStoreMgr.cs
- DataControlCommands.cs
- WebPartsPersonalization.cs
- TypeBuilder.cs
- HtmlGenericControl.cs
- ControlParameter.cs
- TypeReference.cs
- LingerOption.cs
- RedistVersionInfo.cs
- AuthorizationSection.cs
- Schema.cs
- RouteValueDictionary.cs