Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Profile / HttpProfileGroupBase.cs / 1305376 / 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; 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; 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
- GraphicsContainer.cs
- EntitySet.cs
- CurrentChangingEventArgs.cs
- TraceSource.cs
- DbCommandDefinition.cs
- DataProtection.cs
- ExpressionLink.cs
- CodeTypeReferenceCollection.cs
- WindowsListBox.cs
- XmlIterators.cs
- ConfigurationSectionHelper.cs
- BeginEvent.cs
- Effect.cs
- HandledEventArgs.cs
- AnimationClock.cs
- DecimalStorage.cs
- FileChangeNotifier.cs
- PointConverter.cs
- StrokeNodeEnumerator.cs
- WizardForm.cs
- ConnectionManagementElementCollection.cs
- FrameworkContextData.cs
- PartialCachingControl.cs
- IntSecurity.cs
- TextEditorLists.cs
- XamlClipboardData.cs
- entityreference_tresulttype.cs
- ServicePointManagerElement.cs
- SessionMode.cs
- ToolStripItemClickedEventArgs.cs
- WebControl.cs
- TableStyle.cs
- SafeSecurityHandles.cs
- ToggleProviderWrapper.cs
- _LocalDataStore.cs
- RegexBoyerMoore.cs
- uribuilder.cs
- SerializationIncompleteException.cs
- ExpressionBindingCollection.cs
- DataViewManager.cs
- GestureRecognitionResult.cs
- ADMembershipProvider.cs
- TdsParserStateObject.cs
- OTFRasterizer.cs
- WebBrowser.cs
- RawStylusActions.cs
- Pointer.cs
- TimeSpan.cs
- DataGridViewControlCollection.cs
- XamlSerializationHelper.cs
- EventSinkHelperWriter.cs
- BooleanFunctions.cs
- EntityProviderServices.cs
- DocumentSchemaValidator.cs
- RegistryPermission.cs
- TypeExtensions.cs
- SqlDuplicator.cs
- ISFTagAndGuidCache.cs
- NotifyInputEventArgs.cs
- DbgCompiler.cs
- DataObject.cs
- BindingCollection.cs
- HGlobalSafeHandle.cs
- MetadataArtifactLoaderFile.cs
- PageFunction.cs
- List.cs
- InternalUserCancelledException.cs
- FileUtil.cs
- InfoCardRequestException.cs
- GCHandleCookieTable.cs
- FontFamilyConverter.cs
- SchemaSetCompiler.cs
- Int16Storage.cs
- ListQueryResults.cs
- PartialCachingControl.cs
- ConfigurationSchemaErrors.cs
- LogWriteRestartAreaAsyncResult.cs
- AttributeProviderAttribute.cs
- DisposableCollectionWrapper.cs
- SqlClientFactory.cs
- _Events.cs
- NavigationPropertyEmitter.cs
- QueryStringParameter.cs
- NavigationProgressEventArgs.cs
- LOSFormatter.cs
- FunctionImportMapping.cs
- PeerInvitationResponse.cs
- RegexMatchCollection.cs
- DataGridViewUtilities.cs
- HtmlTableCell.cs
- PositiveTimeSpanValidatorAttribute.cs
- TreeSet.cs
- CharKeyFrameCollection.cs
- XamlTreeBuilderBamlRecordWriter.cs
- RegexCapture.cs
- HttpCookiesSection.cs
- TextBoxDesigner.cs
- HebrewCalendar.cs
- DataGridViewDataConnection.cs
- WindowsSpinner.cs