Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ScrollBarAutomationPeer.cs
- SortKey.cs
- InvokePatternIdentifiers.cs
- AspNetCompatibilityRequirementsAttribute.cs
- _AutoWebProxyScriptWrapper.cs
- JsonStringDataContract.cs
- ProjectionRewriter.cs
- TextBoxView.cs
- CreateUserWizardDesigner.cs
- AsyncStreamReader.cs
- UInt64.cs
- LoginUtil.cs
- RadioButtonRenderer.cs
- sqlnorm.cs
- ToolbarAUtomationPeer.cs
- MouseEvent.cs
- FormViewDeleteEventArgs.cs
- LocalValueEnumerator.cs
- ConstNode.cs
- DefaultValidator.cs
- MimeFormImporter.cs
- DateTimeSerializationSection.cs
- odbcmetadatacollectionnames.cs
- LocalizabilityAttribute.cs
- LingerOption.cs
- FormsAuthenticationConfiguration.cs
- App.cs
- MarkupCompiler.cs
- IpcChannel.cs
- TransportContext.cs
- DeviceSpecificDesigner.cs
- HexParser.cs
- TypeUnloadedException.cs
- EntityCommandCompilationException.cs
- IndexedGlyphRun.cs
- ReadOnlyObservableCollection.cs
- ScrollContentPresenter.cs
- ModulesEntry.cs
- OrderToken.cs
- ActivityTypeResolver.xaml.cs
- FormViewInsertedEventArgs.cs
- BitmapFrameEncode.cs
- DecoderExceptionFallback.cs
- PathGeometry.cs
- DataControlFieldCell.cs
- PersonalizationEntry.cs
- WebReferenceOptions.cs
- HtmlListAdapter.cs
- ProtocolsConfigurationHandler.cs
- ProviderIncompatibleException.cs
- SmtpNegotiateAuthenticationModule.cs
- GridViewDeleteEventArgs.cs
- ExtensionFile.cs
- HttpsChannelListener.cs
- ApplicationActivator.cs
- ProcessModelInfo.cs
- XPathSelectionIterator.cs
- BaseValidator.cs
- SystemTcpStatistics.cs
- ResXDataNode.cs
- DataGridViewButtonCell.cs
- Directory.cs
- MimeXmlReflector.cs
- PaperSource.cs
- MasterPageCodeDomTreeGenerator.cs
- ColorConvertedBitmap.cs
- RepeaterCommandEventArgs.cs
- ComponentEditorForm.cs
- WorkflowRuntimeServiceElementCollection.cs
- DotAtomReader.cs
- DataServiceResponse.cs
- _Rfc2616CacheValidators.cs
- HandlerBase.cs
- AutomationIdentifier.cs
- ObfuscateAssemblyAttribute.cs
- EdmToObjectNamespaceMap.cs
- DeviceContexts.cs
- SafeViewOfFileHandle.cs
- PeerObject.cs
- ProxyFragment.cs
- ValidationHelper.cs
- FilteredAttributeCollection.cs
- ConfigXmlDocument.cs
- xmlfixedPageInfo.cs
- SmtpCommands.cs
- DataObjectEventArgs.cs
- TriggerActionCollection.cs
- WorkflowRuntime.cs
- ViewBox.cs
- RuleInfoComparer.cs
- DisposableCollectionWrapper.cs
- KnownTypeHelper.cs
- UnicodeEncoding.cs
- Signature.cs
- Signature.cs
- MouseDevice.cs
- AnnotationObservableCollection.cs
- SiteMapNodeItem.cs
- Point.cs
- DropShadowBitmapEffect.cs