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
- BinaryReader.cs
- TypographyProperties.cs
- FixedNode.cs
- XmlSchemaComplexContent.cs
- DataGridView.cs
- ContentPosition.cs
- SerialReceived.cs
- SmtpReplyReader.cs
- HtmlInputHidden.cs
- ProfileSettingsCollection.cs
- CurrentChangingEventManager.cs
- DelegatingConfigHost.cs
- ListViewGroupConverter.cs
- SymbolEqualComparer.cs
- ThicknessConverter.cs
- SQLMoneyStorage.cs
- TextRunProperties.cs
- FileUtil.cs
- TopClause.cs
- RunInstallerAttribute.cs
- DbParameterCollectionHelper.cs
- CodeAccessSecurityEngine.cs
- HtmlImage.cs
- ProfilePropertyNameValidator.cs
- UserPersonalizationStateInfo.cs
- ObjectMemberMapping.cs
- NavigatorInvalidBodyAccessException.cs
- ColorIndependentAnimationStorage.cs
- Margins.cs
- TreeView.cs
- JavaScriptObjectDeserializer.cs
- SetUserPreferenceRequest.cs
- Point3DAnimation.cs
- XamlDesignerSerializationManager.cs
- BinaryFormatter.cs
- ErrorFormatterPage.cs
- ColorDialog.cs
- ThreadExceptionDialog.cs
- SQLInt16Storage.cs
- ItemList.cs
- RangeBaseAutomationPeer.cs
- PointConverter.cs
- sitestring.cs
- RayHitTestParameters.cs
- ElementNotAvailableException.cs
- ExtenderProvidedPropertyAttribute.cs
- HttpCookie.cs
- SqlDataSourceCache.cs
- NegationPusher.cs
- CalendarKeyboardHelper.cs
- DropSource.cs
- VBCodeProvider.cs
- SystemIPGlobalStatistics.cs
- Point.cs
- ColorConverter.cs
- SiteMapNodeItemEventArgs.cs
- DoWhileDesigner.xaml.cs
- EndOfStreamException.cs
- QueryOperationResponseOfT.cs
- prompt.cs
- util.cs
- Debug.cs
- SortDescriptionCollection.cs
- TraceSection.cs
- ConfigurationValidatorAttribute.cs
- FormViewModeEventArgs.cs
- CommonDialog.cs
- ConditionalDesigner.cs
- ThreadPool.cs
- WhileDesigner.cs
- TransformerInfoCollection.cs
- WhileDesigner.cs
- HttpResponseHeader.cs
- ByteStack.cs
- DbConnectionClosed.cs
- SharedStatics.cs
- SQLDouble.cs
- TextElementAutomationPeer.cs
- StrokeCollection2.cs
- DataTableReaderListener.cs
- Point3DCollection.cs
- Repeater.cs
- NullableDecimalAverageAggregationOperator.cs
- Receive.cs
- OperatingSystem.cs
- ColumnWidthChangingEvent.cs
- HttpCachePolicyElement.cs
- UIAgentCrashedException.cs
- GridView.cs
- SolidBrush.cs
- TrackingParameters.cs
- EntityCodeGenerator.cs
- ResXFileRef.cs
- WebPartConnectionsCancelVerb.cs
- EntityKeyElement.cs
- DelegateTypeInfo.cs
- SQLByte.cs
- ComponentDispatcherThread.cs
- OleDbError.cs
- DataGrid.cs