Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ModelFunctionTypeElement.cs
- SqlClientWrapperSmiStreamChars.cs
- ErrorRuntimeConfig.cs
- Site.cs
- Rect.cs
- LabelTarget.cs
- Helpers.cs
- QilTargetType.cs
- PrintController.cs
- WebPartVerbCollection.cs
- MeasureData.cs
- ResXBuildProvider.cs
- ComponentResourceKey.cs
- IisTraceListener.cs
- WorkflowQueuingService.cs
- KnownIds.cs
- _BufferOffsetSize.cs
- Lease.cs
- AssemblyAttributes.cs
- DataBindingExpressionBuilder.cs
- WebServiceParameterData.cs
- GridViewUpdatedEventArgs.cs
- DateTime.cs
- CultureTableRecord.cs
- PreProcessInputEventArgs.cs
- TextEndOfSegment.cs
- XmlTextReaderImpl.cs
- ResetableIterator.cs
- ItemCollectionEditor.cs
- UnsafeNativeMethods.cs
- SafeNativeMethods.cs
- GroupQuery.cs
- SiteMapProvider.cs
- SqlDataAdapter.cs
- HttpGetServerProtocol.cs
- PropertyTabChangedEvent.cs
- TraceListeners.cs
- OleAutBinder.cs
- RenamedEventArgs.cs
- EventDescriptorCollection.cs
- ClientEventManager.cs
- ItemAutomationPeer.cs
- ArrayElementGridEntry.cs
- _NativeSSPI.cs
- NullableDecimalAverageAggregationOperator.cs
- MatrixUtil.cs
- TimeEnumHelper.cs
- TreeViewBindingsEditor.cs
- QfeChecker.cs
- Geometry3D.cs
- cookiecollection.cs
- DurableInstance.cs
- Message.cs
- BamlTreeNode.cs
- StateManagedCollection.cs
- FieldDescriptor.cs
- Exceptions.cs
- ThreadPool.cs
- LinearGradientBrush.cs
- SpeechRecognizer.cs
- DelegateBodyWriter.cs
- SQLStringStorage.cs
- GcHandle.cs
- SerializationHelper.cs
- ClientConfigurationSystem.cs
- XmlNodeReader.cs
- GridViewUpdatedEventArgs.cs
- WeakReadOnlyCollection.cs
- DataBoundControlAdapter.cs
- EventLogInformation.cs
- XmlObjectSerializerReadContext.cs
- SelectionHighlightInfo.cs
- SqlStatistics.cs
- OutKeywords.cs
- DecodeHelper.cs
- assertwrapper.cs
- WsdlExporter.cs
- coordinator.cs
- InputScopeAttribute.cs
- HttpRequest.cs
- BlockUIContainer.cs
- Convert.cs
- InplaceBitmapMetadataWriter.cs
- TriggerCollection.cs
- InternalDuplexChannelListener.cs
- MetadataPropertyvalue.cs
- SettingsPropertyValueCollection.cs
- LocalValueEnumerator.cs
- HandlerMappingMemo.cs
- WebPartConnectionsConnectVerb.cs
- RSAPKCS1SignatureFormatter.cs
- XmlAttributes.cs
- SspiSecurityTokenParameters.cs
- FileVersionInfo.cs
- HttpWebRequestElement.cs
- TreeViewImageIndexConverter.cs
- NavigationPropertyEmitter.cs
- XmlSchemaAppInfo.cs
- ClientRoleProvider.cs
- ReferencedType.cs