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
- Manipulation.cs
- Empty.cs
- UIServiceHelper.cs
- CommandTreeTypeHelper.cs
- ExpressionBindings.cs
- DataKey.cs
- DataGridViewRowHeaderCell.cs
- _LoggingObject.cs
- SchemaImporterExtensionElement.cs
- FontDialog.cs
- ConnectionInterfaceCollection.cs
- CharEntityEncoderFallback.cs
- BitmapSizeOptions.cs
- Activity.cs
- Size.cs
- ByteStorage.cs
- TypeElement.cs
- UniqueID.cs
- Rect3DConverter.cs
- TextChangedEventArgs.cs
- _DigestClient.cs
- ProfilePropertySettingsCollection.cs
- ReversePositionQuery.cs
- XPathDocumentNavigator.cs
- StylusPointPropertyId.cs
- RandomNumberGenerator.cs
- OdbcFactory.cs
- StrokeNodeOperations.cs
- HwndSourceKeyboardInputSite.cs
- SR.cs
- DataError.cs
- DataRelationPropertyDescriptor.cs
- CheckBoxList.cs
- SyndicationDeserializer.cs
- WpfKnownMember.cs
- ResourceManager.cs
- ValueConversionAttribute.cs
- DatasetMethodGenerator.cs
- UIElementHelper.cs
- WebEventCodes.cs
- HttpWebResponse.cs
- DataGridViewCellCollection.cs
- CodeAttachEventStatement.cs
- ZipIORawDataFileBlock.cs
- GetChildSubtree.cs
- RowBinding.cs
- EntityDataSourceContextDisposingEventArgs.cs
- RawStylusInputCustomDataList.cs
- SimpleLine.cs
- DictionaryGlobals.cs
- CodeDOMProvider.cs
- TagMapInfo.cs
- AVElementHelper.cs
- CollectionViewProxy.cs
- XslTransformFileEditor.cs
- SimpleHandlerBuildProvider.cs
- StrongNameUtility.cs
- ContentElementAutomationPeer.cs
- DiagnosticTraceSource.cs
- SiteMembershipCondition.cs
- Point3DCollectionValueSerializer.cs
- Action.cs
- SymbolType.cs
- NotCondition.cs
- RegexWriter.cs
- GrammarBuilderRuleRef.cs
- GlyphElement.cs
- LicenseContext.cs
- WS2007HttpBinding.cs
- FileEnumerator.cs
- DrawingContextDrawingContextWalker.cs
- DataGridViewLinkColumn.cs
- UserValidatedEventArgs.cs
- ITextView.cs
- UserControl.cs
- SystemIPv4InterfaceProperties.cs
- Bezier.cs
- XmlSerializerFactory.cs
- ViewBase.cs
- GenericPrincipal.cs
- EdmType.cs
- Vector3dCollection.cs
- XPathNavigator.cs
- ZipIOExtraField.cs
- EventLogPermissionEntry.cs
- ButtonAutomationPeer.cs
- BatchWriter.cs
- TextFormatterContext.cs
- StringFunctions.cs
- OleDbWrapper.cs
- VoiceObjectToken.cs
- SqlCommandSet.cs
- SpellerHighlightLayer.cs
- sqlstateclientmanager.cs
- WebEventCodes.cs
- DataPointer.cs
- LayoutExceptionEventArgs.cs
- ControlUtil.cs
- FileLevelControlBuilderAttribute.cs
- OleDbRowUpdatedEvent.cs