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
- WebPartTransformerCollection.cs
- WebEvents.cs
- UnsafeNativeMethodsCLR.cs
- _OSSOCK.cs
- validation.cs
- XXXInfos.cs
- SystemDiagnosticsSection.cs
- StylusPointDescription.cs
- FunctionMappingTranslator.cs
- WebPartAuthorizationEventArgs.cs
- Int32EqualityComparer.cs
- QualificationDataItem.cs
- NameValueSectionHandler.cs
- TextTrailingWordEllipsis.cs
- EncoderExceptionFallback.cs
- UnsafeNativeMethods.cs
- XmlSchemaAttributeGroup.cs
- Size.cs
- DataGridTableCollection.cs
- MetadataArtifactLoaderCompositeResource.cs
- TabletDeviceInfo.cs
- XmlEncoding.cs
- IERequestCache.cs
- FormsAuthenticationUserCollection.cs
- oledbconnectionstring.cs
- SchemaHelper.cs
- SafeLibraryHandle.cs
- DockPattern.cs
- ResourcesChangeInfo.cs
- X509CertificateChain.cs
- XPathSelfQuery.cs
- CodeStatementCollection.cs
- RegexMatchCollection.cs
- TextEvent.cs
- ManagementObjectSearcher.cs
- Errors.cs
- WinEventWrap.cs
- FrameworkElementAutomationPeer.cs
- CodeCompiler.cs
- AndCondition.cs
- LineServicesRun.cs
- SynchronizedDispatch.cs
- TextLineResult.cs
- TextOutput.cs
- EqualityComparer.cs
- TypeGeneratedEventArgs.cs
- NamespaceQuery.cs
- Padding.cs
- TextDecorationCollection.cs
- ProxyManager.cs
- ArrayList.cs
- CodeGroup.cs
- ECDiffieHellmanCng.cs
- DbCommandTree.cs
- SerializationSectionGroup.cs
- OleDbDataAdapter.cs
- ItemsControlAutomationPeer.cs
- CodeEventReferenceExpression.cs
- TransformFinalBlockRequest.cs
- EntityContainerEntitySet.cs
- TraceContextEventArgs.cs
- versioninfo.cs
- SchemaElementLookUpTable.cs
- InteropEnvironment.cs
- TreePrinter.cs
- StackBuilderSink.cs
- DataServicePagingProviderWrapper.cs
- WindowsFormsLinkLabel.cs
- SafeCloseHandleCritical.cs
- CompiledWorkflowDefinitionContext.cs
- DecimalAnimation.cs
- AttachmentService.cs
- CultureInfoConverter.cs
- WebPartCollection.cs
- AttributeQuery.cs
- _AcceptOverlappedAsyncResult.cs
- OleTxTransaction.cs
- RawAppCommandInputReport.cs
- BamlRecordHelper.cs
- ThrowHelper.cs
- UIPermission.cs
- AnimationLayer.cs
- GlyphsSerializer.cs
- LoginName.cs
- Visual3D.cs
- SiteMapPath.cs
- ControlCollection.cs
- Parser.cs
- NavigationProperty.cs
- XmlBinaryReaderSession.cs
- GenericsInstances.cs
- IgnoreFlushAndCloseStream.cs
- TextRunCache.cs
- DynamicEntity.cs
- _ListenerAsyncResult.cs
- ConfigXmlCDataSection.cs
- BitmapEffectInput.cs
- LayoutEvent.cs
- LinqDataSourceView.cs
- OptimalBreakSession.cs