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
- QueryCacheEntry.cs
- XmlNodeList.cs
- UInt32Storage.cs
- ContractBase.cs
- EventManager.cs
- Aggregates.cs
- Flattener.cs
- DeleteHelper.cs
- ButtonFieldBase.cs
- DefaultMergeHelper.cs
- CrossSiteScriptingValidation.cs
- ConsumerConnectionPointCollection.cs
- EmptyQuery.cs
- SymbolPair.cs
- SerTrace.cs
- AuthenticationService.cs
- PTConverter.cs
- CellTreeNode.cs
- ByteStream.cs
- LocalizableResourceBuilder.cs
- PageThemeParser.cs
- ButtonBase.cs
- SerialPort.cs
- XmlImplementation.cs
- SamlAudienceRestrictionCondition.cs
- InternalMappingException.cs
- SqlReorderer.cs
- SimpleTypesSurrogate.cs
- DaylightTime.cs
- ImportOptions.cs
- FormatConvertedBitmap.cs
- ActivityScheduledRecord.cs
- CollectionEditorDialog.cs
- OutputCacheModule.cs
- StringValueConverter.cs
- ExpressionSelection.cs
- ProfileGroupSettingsCollection.cs
- HttpContextBase.cs
- sqlcontext.cs
- DashStyles.cs
- StringAttributeCollection.cs
- ObjectTokenCategory.cs
- _HeaderInfoTable.cs
- ToolboxItemWrapper.cs
- SqlTypeSystemProvider.cs
- TemplateComponentConnector.cs
- ListControlConvertEventArgs.cs
- MachineKeySection.cs
- TextSpan.cs
- CompoundFileReference.cs
- DecoderFallbackWithFailureFlag.cs
- EnumerableCollectionView.cs
- TypedTableBaseExtensions.cs
- CacheManager.cs
- CatalogPartCollection.cs
- DesignerPerfEventProvider.cs
- SpecularMaterial.cs
- XmlSchemaObject.cs
- EUCJPEncoding.cs
- _ConnectStream.cs
- ProcessingInstructionAction.cs
- ProtocolsConfiguration.cs
- QueryOperationResponseOfT.cs
- XPathDocument.cs
- SqlDataSourceConfigureFilterForm.cs
- ObjectHandle.cs
- X509SecurityTokenAuthenticator.cs
- DataGridItemCollection.cs
- StringUtil.cs
- MsmqException.cs
- mediapermission.cs
- RectKeyFrameCollection.cs
- DecimalAnimationBase.cs
- StaticDataManager.cs
- BamlRecordHelper.cs
- FixedSOMFixedBlock.cs
- KeyboardDevice.cs
- TCEAdapterGenerator.cs
- TypeDependencyAttribute.cs
- StringPropertyBuilder.cs
- DefaultValidator.cs
- TextTreeDeleteContentUndoUnit.cs
- SimpleTypeResolver.cs
- GlobalDataBindingHandler.cs
- BuildResultCache.cs
- TeredoHelper.cs
- GenericEnumerator.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- PageBreakRecord.cs
- GcSettings.cs
- ValidationErrorInfo.cs
- TopClause.cs
- StrongBox.cs
- AlphabeticalEnumConverter.cs
- XmlDataProvider.cs
- ProtocolsConfigurationHandler.cs
- WebBrowserPermission.cs
- AttributeAction.cs
- RectangleConverter.cs
- XamlSerializationHelper.cs