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
- LOSFormatter.cs
- ResourceKey.cs
- DesignerView.xaml.cs
- InProcStateClientManager.cs
- RemotingException.cs
- FlowDocument.cs
- tibetanshape.cs
- DNS.cs
- ConfigXmlComment.cs
- HashRepartitionStream.cs
- WsdlParser.cs
- AvTraceFormat.cs
- StringInfo.cs
- BaseDataBoundControl.cs
- TextTreePropertyUndoUnit.cs
- InstanceOwnerQueryResult.cs
- ButtonStandardAdapter.cs
- BamlWriter.cs
- FixedPageProcessor.cs
- EntityObject.cs
- TdsParserSessionPool.cs
- EntityClassGenerator.cs
- DispatchRuntime.cs
- PageThemeParser.cs
- _OSSOCK.cs
- StandardOleMarshalObject.cs
- IgnoreFileBuildProvider.cs
- PathSegmentCollection.cs
- ToolStripItemTextRenderEventArgs.cs
- XPathException.cs
- DetailsViewPageEventArgs.cs
- TreeNodeMouseHoverEvent.cs
- IndependentAnimationStorage.cs
- Vector3D.cs
- XmlSchemaInferenceException.cs
- RemotingAttributes.cs
- DataGridViewSelectedCellCollection.cs
- Base64WriteStateInfo.cs
- OdbcDataReader.cs
- TerminatorSinks.cs
- OutputWindow.cs
- ParserStreamGeometryContext.cs
- MiniAssembly.cs
- SimpleFileLog.cs
- IncrementalReadDecoders.cs
- SimpleTypeResolver.cs
- ThemeDirectoryCompiler.cs
- ClientSettingsStore.cs
- EventLogInformation.cs
- ProfilePropertySettings.cs
- EarlyBoundInfo.cs
- SizeConverter.cs
- DataGridViewColumnHeaderCell.cs
- IsolatedStorageFile.cs
- HtmlButton.cs
- odbcmetadatacolumnnames.cs
- SingleAnimationBase.cs
- DoWorkEventArgs.cs
- WebPartConnectionsEventArgs.cs
- ToolStripDropDownButton.cs
- RuleSetReference.cs
- _SslSessionsCache.cs
- WebBaseEventKeyComparer.cs
- NominalTypeEliminator.cs
- SqlOuterApplyReducer.cs
- BrowserTree.cs
- Vector3DIndependentAnimationStorage.cs
- BrowserCapabilitiesFactory35.cs
- unsafenativemethodstextservices.cs
- ImpersonateTokenRef.cs
- ObjectHelper.cs
- QilStrConcat.cs
- HwndStylusInputProvider.cs
- SmtpAuthenticationManager.cs
- DocumentsTrace.cs
- StdValidatorsAndConverters.cs
- ColumnMapTranslator.cs
- PeerDuplexChannelListener.cs
- SoapReflectionImporter.cs
- DataGridViewColumnCollection.cs
- GridPattern.cs
- _ConnectionGroup.cs
- EdmPropertyAttribute.cs
- VirtualDirectoryMappingCollection.cs
- ListComponentEditor.cs
- DataPager.cs
- XsdValidatingReader.cs
- ProcessHostConfigUtils.cs
- HtmlSelect.cs
- CharKeyFrameCollection.cs
- ZeroOpNode.cs
- DebugHandleTracker.cs
- XmlBindingWorker.cs
- WebPartTransformer.cs
- ScriptResourceAttribute.cs
- ComboBox.cs
- UnsafeNativeMethodsMilCoreApi.cs
- DataBinder.cs
- LocatorGroup.cs
- ComplexLine.cs