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
- AssemblyBuilder.cs
- XsltLoader.cs
- RemotingSurrogateSelector.cs
- DataGridViewRowsRemovedEventArgs.cs
- CommandExpr.cs
- ObjectIDGenerator.cs
- CodeFieldReferenceExpression.cs
- RestHandler.cs
- WorkflowTraceTransfer.cs
- ObjectListGeneralPage.cs
- CustomTypeDescriptor.cs
- MaskedTextBox.cs
- FontFamilyIdentifier.cs
- HttpRequestWrapper.cs
- NetDispatcherFaultException.cs
- AutoSizeToolBoxItem.cs
- TypeReference.cs
- CodeTryCatchFinallyStatement.cs
- HttpCacheVary.cs
- PolyQuadraticBezierSegment.cs
- _ListenerRequestStream.cs
- BookmarkCallbackWrapper.cs
- isolationinterop.cs
- DataPagerField.cs
- MediaTimeline.cs
- DataStorage.cs
- XmlSerializerAssemblyAttribute.cs
- NumericExpr.cs
- InternalEnumValidator.cs
- PathNode.cs
- TextEndOfLine.cs
- ActiveDocumentEvent.cs
- StylusSystemGestureEventArgs.cs
- DrawToolTipEventArgs.cs
- AspCompat.cs
- DataObject.cs
- UpdateExpressionVisitor.cs
- BaseDataList.cs
- UIElement3D.cs
- KnownAssemblyEntry.cs
- PageHandlerFactory.cs
- CellIdBoolean.cs
- TextTreeRootNode.cs
- RoleService.cs
- EtwTrace.cs
- CachedRequestParams.cs
- FilterElement.cs
- ViewManagerAttribute.cs
- FormsAuthentication.cs
- MinMaxParagraphWidth.cs
- InputLanguageCollection.cs
- DataGridViewSelectedCellCollection.cs
- SecurityPermission.cs
- SerialErrors.cs
- DiagnosticTraceRecords.cs
- InternalCache.cs
- KnownTypesProvider.cs
- XamlInt32CollectionSerializer.cs
- DataGridTableStyleMappingNameEditor.cs
- DataTemplate.cs
- DefaultValueMapping.cs
- EdmProperty.cs
- NamespaceMapping.cs
- ImageCodecInfoPrivate.cs
- AlternateViewCollection.cs
- WindowsIdentity.cs
- PrintController.cs
- DecoderFallbackWithFailureFlag.cs
- RuntimeWrappedException.cs
- XsdBuildProvider.cs
- Transform3D.cs
- ListViewUpdatedEventArgs.cs
- SubMenuStyleCollection.cs
- Size3DValueSerializer.cs
- AspNetSynchronizationContext.cs
- EditorPartChrome.cs
- DecimalKeyFrameCollection.cs
- InvalidPropValue.cs
- MimeTypeMapper.cs
- Model3DGroup.cs
- EncryptedKeyIdentifierClause.cs
- DBSchemaTable.cs
- NamespaceImport.cs
- SqlBinder.cs
- ellipse.cs
- Int64Storage.cs
- ValueConversionAttribute.cs
- CacheMemory.cs
- AssemblyBuilderData.cs
- Object.cs
- WinEventQueueItem.cs
- IgnoreSection.cs
- BrowserCapabilitiesFactoryBase.cs
- TextElementEnumerator.cs
- DataTableReaderListener.cs
- Timer.cs
- AsyncPostBackTrigger.cs
- XmlCustomFormatter.cs
- DesignerDataTable.cs
- GroupQuery.cs