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
- LOSFormatter.cs
- RightsManagementEncryptedStream.cs
- X509SubjectKeyIdentifierClause.cs
- MethodImplAttribute.cs
- AddInDeploymentState.cs
- MailAddress.cs
- XmlBinaryReaderSession.cs
- XmlAnyElementAttribute.cs
- ScaleTransform3D.cs
- Choices.cs
- DnsEndPoint.cs
- HttpModulesSection.cs
- Int32Converter.cs
- _StreamFramer.cs
- User.cs
- HelpInfo.cs
- IriParsingElement.cs
- CoTaskMemUnicodeSafeHandle.cs
- AdRotatorDesigner.cs
- WindowsFormsHostAutomationPeer.cs
- MenuItem.cs
- MetadataException.cs
- SqlDependencyUtils.cs
- SchemaManager.cs
- XmlText.cs
- PrivilegedConfigurationManager.cs
- Underline.cs
- ClientFormsAuthenticationMembershipProvider.cs
- CustomAttributeFormatException.cs
- BroadcastEventHelper.cs
- BufferBuilder.cs
- PriorityQueue.cs
- TreeNodeStyleCollection.cs
- String.cs
- LinqDataSourceInsertEventArgs.cs
- CellParaClient.cs
- securitycriticaldataformultiplegetandset.cs
- ButtonBaseAutomationPeer.cs
- Model3DGroup.cs
- WorkflowInlining.cs
- Base64Encoder.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- AmbientProperties.cs
- TypeNameConverter.cs
- RootBrowserWindowAutomationPeer.cs
- WebPartZone.cs
- ConstructorBuilder.cs
- SqlVersion.cs
- TransformValueSerializer.cs
- NumberSubstitution.cs
- GroupBoxRenderer.cs
- DetailsViewPagerRow.cs
- RegisteredArrayDeclaration.cs
- NetworkInterface.cs
- VisualStyleTypesAndProperties.cs
- StaticContext.cs
- GregorianCalendarHelper.cs
- DataObjectFieldAttribute.cs
- SqlClientFactory.cs
- ObjectNotFoundException.cs
- TokenizerHelper.cs
- SingleAnimationBase.cs
- StylusShape.cs
- MemoryMappedView.cs
- ModulesEntry.cs
- DependsOnAttribute.cs
- GlobalEventManager.cs
- ObjectFullSpanRewriter.cs
- EpmSyndicationContentDeSerializer.cs
- ClientTarget.cs
- FontStyle.cs
- HotSpotCollection.cs
- DataGridViewRowsRemovedEventArgs.cs
- BamlTreeUpdater.cs
- PassportIdentity.cs
- rsa.cs
- StrongNameHelpers.cs
- CancelAsyncOperationRequest.cs
- OleDbReferenceCollection.cs
- sqlmetadatafactory.cs
- SoapCommonClasses.cs
- SchemaName.cs
- LocalizeDesigner.cs
- BrowserCapabilitiesFactory.cs
- _DigestClient.cs
- DocumentXmlWriter.cs
- DynamicFilterExpression.cs
- Utils.cs
- SystemSounds.cs
- TrackPointCollection.cs
- ToolStripItemCollection.cs
- XPathAncestorQuery.cs
- Odbc32.cs
- BadImageFormatException.cs
- TextTreeObjectNode.cs
- DesignerVerb.cs
- LoadGrammarCompletedEventArgs.cs
- ScrollItemPatternIdentifiers.cs
- METAHEADER.cs
- Material.cs