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
- CommonDialog.cs
- XmlQualifiedNameTest.cs
- ListenerElementsCollection.cs
- FileReader.cs
- DashStyles.cs
- ScrollContentPresenter.cs
- DefaultWorkflowSchedulerService.cs
- RelatedPropertyManager.cs
- NetworkInformationException.cs
- MetadataItemSerializer.cs
- DiagnosticTraceSource.cs
- StandardToolWindows.cs
- XmlSchemaAny.cs
- CharacterBufferReference.cs
- ArraySortHelper.cs
- DesignerLinkAdapter.cs
- Typography.cs
- DescriptionAttribute.cs
- BitmapPalettes.cs
- MessagePropertyDescription.cs
- DesignBindingEditor.cs
- Ray3DHitTestResult.cs
- FtpCachePolicyElement.cs
- PriorityRange.cs
- SmtpFailedRecipientException.cs
- ByteAnimationBase.cs
- CompoundFileStorageReference.cs
- IntPtr.cs
- OletxResourceManager.cs
- DataGridViewRowHeaderCell.cs
- BaseParser.cs
- ConfigurationSchemaErrors.cs
- CacheManager.cs
- IPEndPoint.cs
- DBPropSet.cs
- HyperLink.cs
- DataColumnMapping.cs
- FormsAuthenticationCredentials.cs
- ErrorHandler.cs
- RoutedCommand.cs
- StylusCaptureWithinProperty.cs
- PeerObject.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- Style.cs
- HttpVersion.cs
- SystemIPv6InterfaceProperties.cs
- NativeBuffer.cs
- Registry.cs
- UnsafeNativeMethods.cs
- BidOverLoads.cs
- ExpressionParser.cs
- ThreadPoolTaskScheduler.cs
- ImportDesigner.xaml.cs
- ToolStripContentPanel.cs
- RegexNode.cs
- AccessedThroughPropertyAttribute.cs
- ZoneLinkButton.cs
- TileBrush.cs
- TableHeaderCell.cs
- MiniCustomAttributeInfo.cs
- X509SecurityTokenParameters.cs
- MenuItemAutomationPeer.cs
- SequentialUshortCollection.cs
- ConditionCollection.cs
- CodeTypeReferenceCollection.cs
- LambdaCompiler.Expressions.cs
- ArrayExtension.cs
- QueryTask.cs
- SafeUserTokenHandle.cs
- MemoryMappedFileSecurity.cs
- EntityDesignerBuildProvider.cs
- DataQuery.cs
- ToolStripPanelDesigner.cs
- MdiWindowListStrip.cs
- ObservableDictionary.cs
- DiscoveryRequestHandler.cs
- XmlExtensionFunction.cs
- SignatureToken.cs
- SqlDataSourceConfigureSortForm.cs
- ISSmlParser.cs
- PrintDocument.cs
- ListItemsPage.cs
- ImageBrush.cs
- ParallelRangeManager.cs
- DataGridViewLinkCell.cs
- OdbcConnectionString.cs
- TextClipboardData.cs
- ToolStripKeyboardHandlingService.cs
- DataGridViewCellStyleBuilderDialog.cs
- XmlRawWriterWrapper.cs
- Animatable.cs
- HttpWrapper.cs
- ProfileModule.cs
- Coordinator.cs
- DynamicDataResources.Designer.cs
- Path.cs
- DataGridItem.cs
- CodeBlockBuilder.cs
- RtfToken.cs
- ProtocolsInstallComponent.cs