Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Literal.cs
- RSAPKCS1SignatureFormatter.cs
- MediaPlayerState.cs
- DataException.cs
- GlyphRunDrawing.cs
- ParallelEnumerable.cs
- FactoryGenerator.cs
- ProcessHostServerConfig.cs
- CompositeFontParser.cs
- CustomAttributeSerializer.cs
- DataSourceXmlSerializationAttribute.cs
- OrthographicCamera.cs
- TraceFilter.cs
- RangeContentEnumerator.cs
- PopupRootAutomationPeer.cs
- MembershipPasswordException.cs
- ProcessModule.cs
- Exceptions.cs
- ChannelManager.cs
- ThreadSafeMessageFilterTable.cs
- SchemaImporter.cs
- Application.cs
- SuppressedPackageProperties.cs
- DBDataPermissionAttribute.cs
- OrthographicCamera.cs
- RangeEnumerable.cs
- Line.cs
- RubberbandSelector.cs
- AudioException.cs
- VersionedStreamOwner.cs
- ExtensibleSyndicationObject.cs
- WorkflowInstanceExtensionProvider.cs
- WinFormsComponentEditor.cs
- GridEntry.cs
- DataGridViewRowsRemovedEventArgs.cs
- Point.cs
- BooleanKeyFrameCollection.cs
- _IPv4Address.cs
- cookieexception.cs
- SplitterCancelEvent.cs
- Size.cs
- AttachedAnnotationChangedEventArgs.cs
- RenderData.cs
- ContentFilePart.cs
- HttpFileCollection.cs
- EarlyBoundInfo.cs
- ArrayElementGridEntry.cs
- UnaryQueryOperator.cs
- BulletedListDesigner.cs
- ConstructorNeedsTagAttribute.cs
- MexBindingBindingCollectionElement.cs
- X509ThumbprintKeyIdentifierClause.cs
- ErrorProvider.cs
- ExtendedProperty.cs
- QilXmlWriter.cs
- ping.cs
- ThreadStaticAttribute.cs
- HtmlTernaryTree.cs
- WindowsTokenRoleProvider.cs
- BrowserCapabilitiesFactory.cs
- Merger.cs
- TraceLog.cs
- QueueException.cs
- InfoCardRSAPKCS1SignatureFormatter.cs
- LocalizationParserHooks.cs
- TimerElapsedEvenArgs.cs
- TiffBitmapDecoder.cs
- ReadOnlyHierarchicalDataSourceView.cs
- SystemColorTracker.cs
- PerformanceCountersBase.cs
- EventManager.cs
- FilePrompt.cs
- HtmlWindowCollection.cs
- TableItemPatternIdentifiers.cs
- TextEditorTyping.cs
- StreamHelper.cs
- LazyTextWriterCreator.cs
- IntranetCredentialPolicy.cs
- TdsParserSafeHandles.cs
- ItemContainerProviderWrapper.cs
- RegexStringValidator.cs
- TreeViewBindingsEditorForm.cs
- QueryableFilterUserControl.cs
- ModuleBuilderData.cs
- LinqDataSourceSelectEventArgs.cs
- CatalogPartCollection.cs
- XsltCompileContext.cs
- UnauthorizedWebPart.cs
- EventLogPermissionAttribute.cs
- StructuredTypeEmitter.cs
- HttpApplicationFactory.cs
- SafeLocalMemHandle.cs
- InfoCardProofToken.cs
- ServicePoint.cs
- PropertyToken.cs
- KeyValueSerializer.cs
- SplineKeyFrames.cs
- ByteAnimationBase.cs
- CngKey.cs
- WebPartDisplayModeEventArgs.cs