Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CompilationLock.cs
- AllMembershipCondition.cs
- DependencyObjectCodeDomSerializer.cs
- ApplicationContext.cs
- SqlGenerator.cs
- MultiBindingExpression.cs
- SqlExpander.cs
- PropertyEmitter.cs
- BooleanStorage.cs
- XmlSchemaAny.cs
- StorageRoot.cs
- XamlVector3DCollectionSerializer.cs
- ActivityPropertyReference.cs
- ParseChildrenAsPropertiesAttribute.cs
- BitmapImage.cs
- PenThread.cs
- HuffModule.cs
- ControlBuilderAttribute.cs
- AssociationSetMetadata.cs
- ScriptHandlerFactory.cs
- ConnectionPoolRegistry.cs
- SecurityPermission.cs
- CounterCreationData.cs
- DataPointer.cs
- XmlCharType.cs
- MtomMessageEncodingBindingElement.cs
- SurrogateDataContract.cs
- MenuTracker.cs
- TextEditorContextMenu.cs
- SourceSwitch.cs
- TreeNodeCollectionEditorDialog.cs
- TreeNodeBinding.cs
- GroupDescription.cs
- GridLengthConverter.cs
- OdbcStatementHandle.cs
- ValidationErrorEventArgs.cs
- reliableinputsessionchannel.cs
- RegexParser.cs
- Window.cs
- EdgeProfileValidation.cs
- XmlQueryCardinality.cs
- Scheduler.cs
- ArrayElementGridEntry.cs
- SerializeAbsoluteContext.cs
- EventsTab.cs
- UnmanagedMarshal.cs
- SByteConverter.cs
- ReverseInheritProperty.cs
- BitmapEncoder.cs
- BaseParser.cs
- PostBackTrigger.cs
- ComponentEditorPage.cs
- AlphabetConverter.cs
- DataTableMapping.cs
- ListViewCommandEventArgs.cs
- WebEvents.cs
- CodeCompileUnit.cs
- Vector.cs
- HierarchicalDataSourceControl.cs
- UInt16Storage.cs
- SchemaElement.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- LeaseManager.cs
- BitmapMetadataEnumerator.cs
- FrameworkRichTextComposition.cs
- VectorAnimationBase.cs
- BrushConverter.cs
- TraceSection.cs
- Activator.cs
- ExpressionConverter.cs
- GridViewRowCollection.cs
- ViewBase.cs
- AccessedThroughPropertyAttribute.cs
- DataRelationCollection.cs
- X509SecurityToken.cs
- SQLUtility.cs
- MulticastDelegate.cs
- ReferencedCollectionType.cs
- RequestQueue.cs
- UInt32.cs
- TrustManagerMoreInformation.cs
- SweepDirectionValidation.cs
- DataServiceRequestArgs.cs
- SqlCacheDependencyDatabaseCollection.cs
- SingleQueryOperator.cs
- HttpCookie.cs
- UnsafeNativeMethods.cs
- ACE.cs
- SQLMembershipProvider.cs
- CompoundFileReference.cs
- _AuthenticationState.cs
- nulltextcontainer.cs
- SharedUtils.cs
- DebuggerAttributes.cs
- MenuAdapter.cs
- HighlightVisual.cs
- HostedElements.cs
- XmlNode.cs
- ConfigPathUtility.cs
- DataGridViewRowsRemovedEventArgs.cs