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
- JoinElimination.cs
- SQLDateTimeStorage.cs
- ClosableStream.cs
- XmlDataSource.cs
- SafeNativeMethods.cs
- TextTreeTextBlock.cs
- TdsParserStaticMethods.cs
- TemplateControlBuildProvider.cs
- Container.cs
- ClientSponsor.cs
- StreamUpdate.cs
- UnsafePeerToPeerMethods.cs
- DocumentStatusResources.cs
- SafeUserTokenHandle.cs
- TimelineCollection.cs
- DataGridState.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- Polygon.cs
- ConfigurationHandlersInstallComponent.cs
- XD.cs
- EntityKey.cs
- _NtlmClient.cs
- NamedPermissionSet.cs
- NameValueSectionHandler.cs
- PageContentAsyncResult.cs
- MemoryMappedView.cs
- WebResourceUtil.cs
- PerSessionInstanceContextProvider.cs
- PropertyToken.cs
- InkSerializer.cs
- UpdateCommandGenerator.cs
- CodeCommentStatementCollection.cs
- Vector3DAnimation.cs
- RectKeyFrameCollection.cs
- InvokeMemberBinder.cs
- IndependentlyAnimatedPropertyMetadata.cs
- ConnectionConsumerAttribute.cs
- CounterSampleCalculator.cs
- TextPattern.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- StringFunctions.cs
- GradientBrush.cs
- messageonlyhwndwrapper.cs
- _LocalDataStoreMgr.cs
- ControlCollection.cs
- CallTemplateAction.cs
- RegexEditorDialog.cs
- ActivationWorker.cs
- ToolstripProfessionalRenderer.cs
- TypeSystem.cs
- DataGridLinkButton.cs
- TargetInvocationException.cs
- ComNativeDescriptor.cs
- DiffuseMaterial.cs
- EventDescriptor.cs
- RTLAwareMessageBox.cs
- Converter.cs
- ControlPaint.cs
- ClientFormsAuthenticationCredentials.cs
- DLinqDataModelProvider.cs
- Bold.cs
- StringWriter.cs
- IntellisenseTextBox.designer.cs
- ToolStripRenderer.cs
- HtmlSelect.cs
- ExpressionList.cs
- BaseValidator.cs
- FlowLayoutPanel.cs
- IndexerNameAttribute.cs
- WorkItem.cs
- ResourceProviderFactory.cs
- ButtonBase.cs
- MutableAssemblyCacheEntry.cs
- StringInfo.cs
- ProgressBar.cs
- EntityExpressionVisitor.cs
- XDeferredAxisSource.cs
- TextRunTypographyProperties.cs
- DesignerOptionService.cs
- ContextBase.cs
- BitmapMetadataEnumerator.cs
- Encoding.cs
- CompensatableTransactionScopeActivity.cs
- KnownIds.cs
- DeleteIndexBinder.cs
- FlowLayoutPanel.cs
- DbFunctionCommandTree.cs
- FormattedText.cs
- dbdatarecord.cs
- ViewGenerator.cs
- UserMapPath.cs
- XmlSubtreeReader.cs
- AsnEncodedData.cs
- EndEvent.cs
- FileVersionInfo.cs
- UnionCqlBlock.cs
- ThumbAutomationPeer.cs
- DoWorkEventArgs.cs
- HybridDictionary.cs
- AssemblyAssociatedContentFileAttribute.cs