Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Profile / HttpProfileGroupBase.cs / 1305376 / 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;
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
- PseudoWebRequest.cs
- Preprocessor.cs
- FrameworkElement.cs
- JoinTreeNode.cs
- Library.cs
- MembershipValidatePasswordEventArgs.cs
- FrameworkContentElement.cs
- EngineSiteSapi.cs
- TrustLevel.cs
- DescendantBaseQuery.cs
- SectionVisual.cs
- Attributes.cs
- SByteStorage.cs
- WindowsListBox.cs
- DataBinder.cs
- ProfileParameter.cs
- RoleServiceManager.cs
- RootProfilePropertySettingsCollection.cs
- CqlErrorHelper.cs
- InternalControlCollection.cs
- RemotingConfiguration.cs
- DiscoveryDocumentSearchPattern.cs
- LoginName.cs
- GPPOINT.cs
- TemplatedAdorner.cs
- ModelItem.cs
- GreenMethods.cs
- OutputCacheProfile.cs
- TypeGeneratedEventArgs.cs
- ISAPIApplicationHost.cs
- MemberAccessException.cs
- CookieProtection.cs
- PatternMatchRules.cs
- DataGridViewSelectedRowCollection.cs
- DocumentOrderQuery.cs
- UIElement3D.cs
- TraceXPathNavigator.cs
- DebugView.cs
- PackageProperties.cs
- ConsoleKeyInfo.cs
- TextEndOfSegment.cs
- SelectionProviderWrapper.cs
- _FtpControlStream.cs
- SystemGatewayIPAddressInformation.cs
- EndpointDesigner.cs
- HttpContext.cs
- RefExpr.cs
- PlainXmlSerializer.cs
- FileLoadException.cs
- GlyphsSerializer.cs
- AnnotationDocumentPaginator.cs
- ReferenceService.cs
- MediaElement.cs
- HttpApplicationStateWrapper.cs
- WebPartActionVerb.cs
- CompensationDesigner.cs
- VBCodeProvider.cs
- TransactionState.cs
- RegexRunner.cs
- WebPartDescription.cs
- IndexedEnumerable.cs
- MeshGeometry3D.cs
- CssStyleCollection.cs
- MemberRelationshipService.cs
- ParameterReplacerVisitor.cs
- ProfileEventArgs.cs
- DataGridViewCellEventArgs.cs
- EntityDataSourceViewSchema.cs
- SeverityFilter.cs
- OutgoingWebRequestContext.cs
- VoiceSynthesis.cs
- XmlCharType.cs
- WebPartConnectionsCancelEventArgs.cs
- DesignerTransactionCloseEvent.cs
- ScriptServiceAttribute.cs
- StateDesigner.Layouts.cs
- RuntimeArgumentHandle.cs
- TrustSection.cs
- ProtocolInformationReader.cs
- EncoderExceptionFallback.cs
- UnsafeNativeMethods.cs
- XPathAxisIterator.cs
- CommandPlan.cs
- HtmlEncodedRawTextWriter.cs
- Window.cs
- NameValuePermission.cs
- documentsequencetextview.cs
- PageSettings.cs
- PropertyInfo.cs
- WebDisplayNameAttribute.cs
- WebPartRestoreVerb.cs
- SessionPageStatePersister.cs
- OutKeywords.cs
- DispatcherProcessingDisabled.cs
- QueryNode.cs
- AssociationType.cs
- XmlNodeChangedEventArgs.cs
- OperatingSystemVersionCheck.cs
- TextRangeEditTables.cs
- ExpressionConverter.cs