Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DashStyle.cs
- GenerateTemporaryTargetAssembly.cs
- HttpModulesSection.cs
- CDSsyncETWBCLProvider.cs
- ManagementExtension.cs
- ApplicationDirectory.cs
- wgx_render.cs
- ExpressionPrefixAttribute.cs
- CustomCategoryAttribute.cs
- IDictionary.cs
- DefaultPropertyAttribute.cs
- SQLMembershipProvider.cs
- MiniLockedBorderGlyph.cs
- ConstructorBuilder.cs
- DynamicPropertyHolder.cs
- SQLSingleStorage.cs
- BlobPersonalizationState.cs
- ConversionContext.cs
- ErrorsHelper.cs
- MatrixCamera.cs
- TypeUtil.cs
- FontDriver.cs
- SchemaConstraints.cs
- Bitmap.cs
- PageStatePersister.cs
- ImageField.cs
- WebPartEditorApplyVerb.cs
- ObjectSecurity.cs
- TemplateEditingService.cs
- smtpconnection.cs
- IPCCacheManager.cs
- _LazyAsyncResult.cs
- ControlParameter.cs
- WindowsFormsHostPropertyMap.cs
- StreamingContext.cs
- BitmapEffectInput.cs
- DecoderExceptionFallback.cs
- DoubleCollectionConverter.cs
- DataBoundControlHelper.cs
- SourceChangedEventArgs.cs
- ClientTargetSection.cs
- EntityClientCacheEntry.cs
- ThemeableAttribute.cs
- CommonObjectSecurity.cs
- Misc.cs
- MaterialCollection.cs
- SwitchAttribute.cs
- RequestCachePolicy.cs
- AdPostCacheSubstitution.cs
- AssemblyHash.cs
- ServicePointManagerElement.cs
- LicenseProviderAttribute.cs
- EventLogger.cs
- PointCollection.cs
- CacheAxisQuery.cs
- FrameworkReadOnlyPropertyMetadata.cs
- Utils.cs
- PtsHost.cs
- RecognizedPhrase.cs
- TextPatternIdentifiers.cs
- XPathSelectionIterator.cs
- CellCreator.cs
- Point3DConverter.cs
- TraceFilter.cs
- TableRow.cs
- SynchronizationFilter.cs
- DbReferenceCollection.cs
- ChangeInterceptorAttribute.cs
- PrincipalPermission.cs
- WindowExtensionMethods.cs
- ThreadInterruptedException.cs
- AutomationElementCollection.cs
- ParameterRetriever.cs
- XDRSchema.cs
- SubMenuStyleCollection.cs
- StaticFileHandler.cs
- ContentPathSegment.cs
- _DomainName.cs
- AutoGeneratedField.cs
- UnescapedXmlDiagnosticData.cs
- Rectangle.cs
- UnsafeNativeMethodsMilCoreApi.cs
- TypeConvertions.cs
- BitmapEffectrendercontext.cs
- TextSelectionProcessor.cs
- StaticExtension.cs
- AssemblyHash.cs
- ZoneMembershipCondition.cs
- ClientTargetSection.cs
- NativeMethodsOther.cs
- WmlValidatorAdapter.cs
- SecurityTokenRequirement.cs
- __FastResourceComparer.cs
- UnionQueryOperator.cs
- ContentOperations.cs
- CacheChildrenQuery.cs
- GeneralTransform3D.cs
- TraceUtils.cs
- NominalTypeEliminator.cs
- DataGridViewCellCancelEventArgs.cs