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
- NativeMethods.cs
- ManagedIStream.cs
- HttpListenerRequest.cs
- EdmToObjectNamespaceMap.cs
- CharAnimationBase.cs
- PropertyMapper.cs
- XmlComment.cs
- XmlProcessingInstruction.cs
- MessageQueuePermissionAttribute.cs
- TrustManager.cs
- CodeFieldReferenceExpression.cs
- InvokeWebServiceDesigner.cs
- ManualResetEventSlim.cs
- RemotingSurrogateSelector.cs
- Int16Converter.cs
- RoleGroupCollection.cs
- DataTableNewRowEvent.cs
- Cast.cs
- RectAnimationUsingKeyFrames.cs
- Walker.cs
- IUnknownConstantAttribute.cs
- FixedTextView.cs
- FlowDocumentFormatter.cs
- BamlWriter.cs
- ListDictionary.cs
- OleDbReferenceCollection.cs
- JapaneseLunisolarCalendar.cs
- BindingSource.cs
- MappingModelBuildProvider.cs
- CompiledQueryCacheKey.cs
- TraceLevelHelper.cs
- ScaleTransform.cs
- XmlSchemaComplexType.cs
- Suspend.cs
- TagPrefixInfo.cs
- DeviceContext.cs
- ConfigXmlComment.cs
- DataGrid.cs
- CapabilitiesState.cs
- TaiwanLunisolarCalendar.cs
- TraceLevelStore.cs
- DbInsertCommandTree.cs
- TreeBuilderXamlTranslator.cs
- ConfigurationValidatorAttribute.cs
- AdPostCacheSubstitution.cs
- CodeMethodReturnStatement.cs
- WebControl.cs
- ChangeNode.cs
- CriticalFinalizerObject.cs
- GcHandle.cs
- Transform.cs
- ValueUtilsSmi.cs
- CodePageUtils.cs
- XmlCharacterData.cs
- ConfigsHelper.cs
- ExpressionServices.cs
- FixedSOMTableRow.cs
- ExpressionsCollectionConverter.cs
- Variant.cs
- ClientRoleProvider.cs
- DataGridViewColumnStateChangedEventArgs.cs
- SchemaObjectWriter.cs
- HScrollProperties.cs
- TCPClient.cs
- manifestimages.cs
- AlternateViewCollection.cs
- RadioButtonDesigner.cs
- EditingMode.cs
- PackagingUtilities.cs
- ParameterModifier.cs
- TickBar.cs
- CounterCreationDataCollection.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ConnectionPointCookie.cs
- DesignerAttribute.cs
- FileCodeGroup.cs
- FunctionNode.cs
- IPGlobalProperties.cs
- ClosureBinding.cs
- DemultiplexingDispatchMessageFormatter.cs
- TableSectionStyle.cs
- WindowsFormsLinkLabel.cs
- WebPartDisplayModeCancelEventArgs.cs
- PersonalizableTypeEntry.cs
- ProfileGroupSettingsCollection.cs
- TypeGeneratedEventArgs.cs
- StringBuilder.cs
- NullNotAllowedCollection.cs
- XmlILOptimizerVisitor.cs
- PixelShader.cs
- WebDisplayNameAttribute.cs
- LogicalTreeHelper.cs
- Reference.cs
- ManipulationDelta.cs
- Ref.cs
- WorkflowInspectionServices.cs
- DoubleAnimationUsingKeyFrames.cs
- XmlSchemaParticle.cs
- AppSecurityManager.cs
- PageParserFilter.cs