Code:
/ FX-1434 / FX-1434 / 1.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
- RotateTransform.cs
- DynamicActivityTypeDescriptor.cs
- UpdateManifestForBrowserApplication.cs
- ClientConfigurationHost.cs
- Ipv6Element.cs
- TemplateControlParser.cs
- ListViewHitTestInfo.cs
- ManifestResourceInfo.cs
- DebugView.cs
- QuaternionKeyFrameCollection.cs
- _NtlmClient.cs
- ResourceDefaultValueAttribute.cs
- TextElementEnumerator.cs
- UInt32Converter.cs
- ImportContext.cs
- TextParagraphView.cs
- PropertyChangedEventManager.cs
- FacetValueContainer.cs
- DataControlButton.cs
- SQLDoubleStorage.cs
- Grid.cs
- BounceEase.cs
- WindowsScroll.cs
- EnumConverter.cs
- VirtualPath.cs
- ISO2022Encoding.cs
- SoapEnumAttribute.cs
- WebControlsSection.cs
- ClientRuntimeConfig.cs
- EndpointDesigner.cs
- TrustManagerMoreInformation.cs
- FieldBuilder.cs
- SystemWebCachingSectionGroup.cs
- SqlDataSourceSelectingEventArgs.cs
- WebServiceEnumData.cs
- FixedPageAutomationPeer.cs
- AccessedThroughPropertyAttribute.cs
- WorkflowMessageEventArgs.cs
- SizeChangedInfo.cs
- GridViewUpdatedEventArgs.cs
- TreeViewImageKeyConverter.cs
- MLangCodePageEncoding.cs
- XmlILOptimizerVisitor.cs
- InvokeMethod.cs
- XmlSchemaExternal.cs
- ChangePasswordAutoFormat.cs
- RIPEMD160.cs
- WebBrowsableAttribute.cs
- ScriptResourceAttribute.cs
- CustomBindingElementCollection.cs
- SqlFacetAttribute.cs
- SiteMapDataSource.cs
- ClientRoleProvider.cs
- SeparatorAutomationPeer.cs
- X509Chain.cs
- CustomErrorsSection.cs
- CurrentChangingEventManager.cs
- CodeExpressionStatement.cs
- DeclarationUpdate.cs
- AuthorizationContext.cs
- BuildDependencySet.cs
- CodeDelegateCreateExpression.cs
- DecimalAnimationBase.cs
- XmlSchemaSimpleContent.cs
- ZipFileInfo.cs
- ObjectPropertyMapping.cs
- DataGridItemCollection.cs
- SynchronizedDispatch.cs
- SoapFault.cs
- ZipPackagePart.cs
- EdmSchemaError.cs
- MessageQueueConverter.cs
- ObjectTypeMapping.cs
- OracleConnectionFactory.cs
- DataTableMappingCollection.cs
- SecureStringHasher.cs
- XmlReaderSettings.cs
- HitTestWithPointDrawingContextWalker.cs
- ListViewItemSelectionChangedEvent.cs
- ImageMap.cs
- GZipStream.cs
- CounterSet.cs
- ProxyAttribute.cs
- BitConverter.cs
- StructuredType.cs
- XmlSchemaSequence.cs
- DataGridViewTopRowAccessibleObject.cs
- SrgsElement.cs
- MetadataItem.cs
- HtmlLink.cs
- _BufferOffsetSize.cs
- GatewayDefinition.cs
- FacetValues.cs
- AttributeAction.cs
- x509store.cs
- DocumentViewerHelper.cs
- LocalizationCodeDomSerializer.cs
- TrackingMemoryStreamFactory.cs
- HtmlInputRadioButton.cs
- LicenseManager.cs