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
- BitmapEffectGroup.cs
- XmlSerializerFactory.cs
- EventProxy.cs
- ActionFrame.cs
- WebBrowserUriTypeConverter.cs
- FormViewRow.cs
- FixedTextSelectionProcessor.cs
- Cursors.cs
- _ConnectOverlappedAsyncResult.cs
- GacUtil.cs
- InlineCollection.cs
- CollectionViewGroupInternal.cs
- PropertyChangeTracker.cs
- DataGridViewCheckBoxCell.cs
- PropertyGrid.cs
- HTTPAPI_VERSION.cs
- UnicastIPAddressInformationCollection.cs
- ExecutionContext.cs
- SubstitutionDesigner.cs
- BindingGroup.cs
- StoreItemCollection.Loader.cs
- TemplateKeyConverter.cs
- DisplayMemberTemplateSelector.cs
- Relationship.cs
- QueryableFilterRepeater.cs
- KeyTimeConverter.cs
- CounterSampleCalculator.cs
- AutoGeneratedField.cs
- HttpClientCredentialType.cs
- FixedHighlight.cs
- WebPartMinimizeVerb.cs
- InputLanguage.cs
- DeferredTextReference.cs
- Error.cs
- COM2EnumConverter.cs
- XamlGridLengthSerializer.cs
- autovalidator.cs
- SAPIEngineTypes.cs
- HttpVersion.cs
- Section.cs
- CodeBinaryOperatorExpression.cs
- LayoutInformation.cs
- WindowsGrip.cs
- DataConnectionHelper.cs
- LostFocusEventManager.cs
- DocumentXmlWriter.cs
- XmlAttribute.cs
- LocalizationComments.cs
- XmlSchemaRedefine.cs
- FileIOPermission.cs
- MiniCustomAttributeInfo.cs
- XmlArrayItemAttributes.cs
- ClientFormsIdentity.cs
- ListBindingHelper.cs
- Encoder.cs
- ResXFileRef.cs
- Bidi.cs
- RowParagraph.cs
- DataGridViewCheckBoxColumn.cs
- OdbcParameter.cs
- SiteMapHierarchicalDataSourceView.cs
- errorpatternmatcher.cs
- EncryptedXml.cs
- ToolStripPanelRow.cs
- FontStretches.cs
- FixedLineResult.cs
- KeyValuePair.cs
- AuthenticationModulesSection.cs
- TableCellCollection.cs
- NetWebProxyFinder.cs
- ApplicationCommands.cs
- DiagnosticTrace.cs
- regiisutil.cs
- ExportOptions.cs
- ContextBase.cs
- QilInvokeLateBound.cs
- StringPropertyBuilder.cs
- Duration.cs
- XPathPatternParser.cs
- DescriptionAttribute.cs
- LockCookie.cs
- ToolStripPanelRow.cs
- Collection.cs
- DbParameterCollection.cs
- DataGridViewTextBoxColumn.cs
- FileVersionInfo.cs
- XamlFilter.cs
- Transform3DCollection.cs
- WebPartMenu.cs
- DataGridTable.cs
- StructuralCache.cs
- BypassElementCollection.cs
- WebPartAddingEventArgs.cs
- DataGridItemCollection.cs
- Identifier.cs
- HtmlWindowCollection.cs
- TableParagraph.cs
- DbConnectionPool.cs
- AuthenticatedStream.cs
- SecurityTokenRequirement.cs