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
- InputElement.cs
- SafeHandle.cs
- shaperfactoryquerycachekey.cs
- CallbackBehaviorAttribute.cs
- ColumnCollection.cs
- WebPartDeleteVerb.cs
- DispatcherObject.cs
- WindowsComboBox.cs
- BitmapData.cs
- PropertyToken.cs
- PersonalizationProvider.cs
- QueryOutputWriter.cs
- DataFieldConverter.cs
- ListChangedEventArgs.cs
- TraceHelpers.cs
- AppSettingsExpressionBuilder.cs
- Selection.cs
- BoundPropertyEntry.cs
- Compiler.cs
- UnsignedPublishLicense.cs
- ResourcePart.cs
- Listen.cs
- TypeExtensionSerializer.cs
- XPathPatternParser.cs
- PropertyGridView.cs
- AutoCompleteStringCollection.cs
- ImportCatalogPart.cs
- UInt64.cs
- ProviderSettings.cs
- ScaleTransform.cs
- MexNamedPipeBindingElement.cs
- BuilderPropertyEntry.cs
- OleDbException.cs
- ScrollPattern.cs
- SoundPlayerAction.cs
- ByteViewer.cs
- Int16Animation.cs
- DispatcherProcessingDisabled.cs
- ClientSession.cs
- AddInEnvironment.cs
- TextSegment.cs
- ITextView.cs
- ReaderWriterLockWrapper.cs
- CompositionTarget.cs
- ToolStripLabel.cs
- TextContainerChangedEventArgs.cs
- TextBox.cs
- SchemaImporter.cs
- Mapping.cs
- SecurityContext.cs
- RemoteHelper.cs
- Environment.cs
- MDIControlStrip.cs
- SafeCryptContextHandle.cs
- XmlAnyElementAttribute.cs
- PageRanges.cs
- RequestQueryProcessor.cs
- TextSelection.cs
- Sequence.cs
- RequestCacheValidator.cs
- CommonXSendMessage.cs
- BuildProviderUtils.cs
- SqlServer2KCompatibilityCheck.cs
- VBIdentifierNameEditor.cs
- PasswordBoxAutomationPeer.cs
- KeyNotFoundException.cs
- ColorTransform.cs
- PrintDialog.cs
- AssociationTypeEmitter.cs
- Monitor.cs
- HTMLTextWriter.cs
- NullExtension.cs
- shaperfactory.cs
- SocketCache.cs
- MissingFieldException.cs
- WebEventCodes.cs
- WSSecurityOneDotZeroSendSecurityHeader.cs
- HostingEnvironmentSection.cs
- ContractCodeDomInfo.cs
- CodeChecksumPragma.cs
- DataServiceException.cs
- DocumentSequence.cs
- QueueProcessor.cs
- PeerEndPoint.cs
- DbParameterCollectionHelper.cs
- EntityProviderFactory.cs
- IUnknownConstantAttribute.cs
- CodeTypeDelegate.cs
- DesignerSerializerAttribute.cs
- ScriptResourceHandler.cs
- TextProviderWrapper.cs
- DesignerActionMethodItem.cs
- ReflectEventDescriptor.cs
- AttributeUsageAttribute.cs
- HtmlTextArea.cs
- ReaderWriterLock.cs
- SQLString.cs
- RightNameExpirationInfoPair.cs
- TrackingLocationCollection.cs
- TypeConverterMarkupExtension.cs