Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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; } } // 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
- TemplateControlParser.cs
- StylusButton.cs
- HTMLTagNameToTypeMapper.cs
- DataRowView.cs
- RowUpdatingEventArgs.cs
- RectangleF.cs
- Pen.cs
- WebPartMenu.cs
- DiagnosticsElement.cs
- ByteFacetDescriptionElement.cs
- LeaseManager.cs
- QilNode.cs
- ActivityPreviewDesigner.cs
- XmlSchemaSubstitutionGroup.cs
- AbsoluteQuery.cs
- WebBrowserNavigatedEventHandler.cs
- SendingRequestEventArgs.cs
- AliasGenerator.cs
- BindingCompleteEventArgs.cs
- HandleCollector.cs
- EventRecord.cs
- WebPartManager.cs
- WebSysDisplayNameAttribute.cs
- DesignerMetadata.cs
- LoadItemsEventArgs.cs
- cache.cs
- GACMembershipCondition.cs
- PkcsMisc.cs
- RetrieveVirtualItemEventArgs.cs
- TraceContextRecord.cs
- UndoManager.cs
- ValidationErrorEventArgs.cs
- Thread.cs
- RenderDataDrawingContext.cs
- DataGridColumnHeader.cs
- NamedElement.cs
- VisualStyleInformation.cs
- TagNameToTypeMapper.cs
- DetailsViewRow.cs
- _UriTypeConverter.cs
- RSAPKCS1SignatureFormatter.cs
- AuthorizationSection.cs
- TerminatorSinks.cs
- LogicalTreeHelper.cs
- RequestCachingSection.cs
- Base64Decoder.cs
- FamilyCollection.cs
- Lease.cs
- FileDialogPermission.cs
- GridViewColumnHeader.cs
- EntitySetBaseCollection.cs
- HorizontalAlignConverter.cs
- XmlSerializerVersionAttribute.cs
- RegistryExceptionHelper.cs
- TextTreeRootNode.cs
- XDRSchema.cs
- HttpProfileGroupBase.cs
- EventRouteFactory.cs
- IPAddress.cs
- KeyNotFoundException.cs
- DefaultHttpHandler.cs
- ImageDrawing.cs
- DateTimeConstantAttribute.cs
- EmissiveMaterial.cs
- LinkedResourceCollection.cs
- BitmapEffectInput.cs
- ListItemCollection.cs
- CompilationRelaxations.cs
- NavigationHelper.cs
- Misc.cs
- AdCreatedEventArgs.cs
- PanelDesigner.cs
- EntityCollection.cs
- RelationshipType.cs
- X509ChainPolicy.cs
- SecurityContext.cs
- CaseKeyBox.ViewModel.cs
- AutomationElementCollection.cs
- SuppressedPackageProperties.cs
- InsufficientMemoryException.cs
- HitTestDrawingContextWalker.cs
- SecurityTokenRequirement.cs
- HyperLinkStyle.cs
- IChannel.cs
- WebBrowserProgressChangedEventHandler.cs
- DataGridViewButtonCell.cs
- BatchParser.cs
- xmlfixedPageInfo.cs
- XmlSchemaSimpleTypeRestriction.cs
- CompModSwitches.cs
- UInt16Converter.cs
- PropertyChangingEventArgs.cs
- codemethodreferenceexpression.cs
- CustomAttribute.cs
- _DigestClient.cs
- XmlStrings.cs
- SmiEventSink_Default.cs
- RijndaelManaged.cs
- XmlDocumentSurrogate.cs
- TextViewSelectionProcessor.cs