Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- InstanceNotReadyException.cs
- ElementProxy.cs
- TextServicesManager.cs
- CultureInfoConverter.cs
- RangeBaseAutomationPeer.cs
- TemplateColumn.cs
- PropertyIDSet.cs
- HttpDictionary.cs
- CommandPlan.cs
- DependencyProperty.cs
- CounterSampleCalculator.cs
- TerminatorSinks.cs
- CodeDirectionExpression.cs
- ZipPackage.cs
- AttributeAction.cs
- MimeMapping.cs
- HttpTransportBindingElement.cs
- BaseTreeIterator.cs
- WebEvents.cs
- DependencyPropertyKey.cs
- ArraySegment.cs
- MsmqHostedTransportConfiguration.cs
- WebProxyScriptElement.cs
- Bidi.cs
- OletxResourceManager.cs
- ConfigurationSchemaErrors.cs
- MiniConstructorInfo.cs
- Profiler.cs
- QueryConverter.cs
- WebPartMovingEventArgs.cs
- StateItem.cs
- PrefixQName.cs
- CodeDirectionExpression.cs
- TypeUtil.cs
- ResolvedKeyFrameEntry.cs
- TaskFormBase.cs
- FileUpload.cs
- AudioFormatConverter.cs
- ExtendedPropertyCollection.cs
- SoundPlayerAction.cs
- ToolBarPanel.cs
- WebDisplayNameAttribute.cs
- PeerCollaborationPermission.cs
- httpserverutility.cs
- CharConverter.cs
- UnwrappedTypesXmlSerializerManager.cs
- SelectQueryOperator.cs
- LocalFileSettingsProvider.cs
- XPathPatternParser.cs
- ListBindingHelper.cs
- NullPackagingPolicy.cs
- DesignerDataTable.cs
- TextServicesContext.cs
- SafeNativeMethods.cs
- RequiredFieldValidator.cs
- ChangePassword.cs
- AlignmentXValidation.cs
- DataGridLength.cs
- GroupBoxRenderer.cs
- ElapsedEventArgs.cs
- TriggerActionCollection.cs
- RegistrySecurity.cs
- LicenseProviderAttribute.cs
- RequiredFieldValidator.cs
- TextServicesCompartmentEventSink.cs
- XmlQueryOutput.cs
- SoapReflectionImporter.cs
- SystemParameters.cs
- CodeExporter.cs
- Completion.cs
- NativeMethods.cs
- TrueReadOnlyCollection.cs
- RichTextBoxConstants.cs
- VideoDrawing.cs
- BindStream.cs
- File.cs
- figurelengthconverter.cs
- Peer.cs
- ResourceCategoryAttribute.cs
- EntityContainerEmitter.cs
- ChildrenQuery.cs
- FormatSettings.cs
- ResourceCategoryAttribute.cs
- Timer.cs
- SQLInt16.cs
- EndpointDiscoveryMetadata.cs
- CellQuery.cs
- PropertyReference.cs
- UInt64Storage.cs
- Point3DCollectionConverter.cs
- FilterEventArgs.cs
- ApplicationSettingsBase.cs
- FormViewCommandEventArgs.cs
- WindowsListViewItemCheckBox.cs
- CurrentTimeZone.cs
- CheckBox.cs
- RenameRuleObjectDialog.cs
- TimersDescriptionAttribute.cs
- AutoGeneratedField.cs
- DiscoveryMessageSequence11.cs