Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DocumentOrderComparer.cs
- MD5CryptoServiceProvider.cs
- Byte.cs
- CompiledQueryCacheEntry.cs
- SessionEndedEventArgs.cs
- CodeRemoveEventStatement.cs
- XmlDataDocument.cs
- XmlSchemaSimpleTypeUnion.cs
- WebConvert.cs
- TableAutomationPeer.cs
- BamlRecordReader.cs
- ServiceObjectContainer.cs
- GeneralTransform2DTo3DTo2D.cs
- RegistryExceptionHelper.cs
- HostingEnvironmentSection.cs
- TextHintingModeValidation.cs
- TrackingCondition.cs
- RawStylusSystemGestureInputReport.cs
- _NestedMultipleAsyncResult.cs
- OneOfTypeConst.cs
- TraceSection.cs
- PerCallInstanceContextProvider.cs
- PriorityBindingExpression.cs
- AddIn.cs
- QilBinary.cs
- AddingNewEventArgs.cs
- OleDbPermission.cs
- XmlSchemaException.cs
- UriTemplateCompoundPathSegment.cs
- LabelLiteral.cs
- ByteAnimationBase.cs
- PolyLineSegmentFigureLogic.cs
- PageRanges.cs
- ChannelParameterCollection.cs
- TextSelection.cs
- SafeBitVector32.cs
- RequestCacheEntry.cs
- CategoryList.cs
- BamlLocalizableResourceKey.cs
- MeshGeometry3D.cs
- PointCollectionConverter.cs
- CustomAttributeSerializer.cs
- RepeaterItem.cs
- Semaphore.cs
- ParserStreamGeometryContext.cs
- SchemaReference.cs
- Typeface.cs
- ToolBarButtonClickEvent.cs
- SafeSecurityHandles.cs
- ErrorTableItemStyle.cs
- StoragePropertyMapping.cs
- NameObjectCollectionBase.cs
- AggregationMinMaxHelpers.cs
- HashHelper.cs
- SuppressMergeCheckAttribute.cs
- sqlinternaltransaction.cs
- SplineQuaternionKeyFrame.cs
- CustomErrorCollection.cs
- DrawingContextDrawingContextWalker.cs
- ReaderWriterLock.cs
- StreamAsIStream.cs
- Documentation.cs
- XmlWriterSettings.cs
- HtmlTextArea.cs
- FontResourceCache.cs
- ObjectTag.cs
- CodeExpressionStatement.cs
- Atom10FormatterFactory.cs
- StringExpressionSet.cs
- ColorAnimation.cs
- IPGlobalProperties.cs
- FontUnitConverter.cs
- CellTreeNodeVisitors.cs
- Formatter.cs
- ProviderCommandInfoUtils.cs
- ShadowGlyph.cs
- LineProperties.cs
- DrawListViewSubItemEventArgs.cs
- GroupBoxRenderer.cs
- StringSorter.cs
- ZipIOModeEnforcingStream.cs
- ProgressBar.cs
- TagNameToTypeMapper.cs
- PhysicalFontFamily.cs
- AlternationConverter.cs
- WindowsListBox.cs
- PublisherIdentityPermission.cs
- HeaderCollection.cs
- WebEvents.cs
- ObjectDataSourceDesigner.cs
- DataGridItemEventArgs.cs
- ToolStripSettings.cs
- UserControlCodeDomTreeGenerator.cs
- OneOfElement.cs
- ResourceCollectionInfo.cs
- BinaryQueryOperator.cs
- PageAdapter.cs
- WS2007FederationHttpBindingCollectionElement.cs
- UrlRoutingModule.cs
- WindowsFormsHelpers.cs