Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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; } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EntityDesignPluralizationHandler.cs
- Table.cs
- ModuleElement.cs
- CellNormalizer.cs
- DesignerCategoryAttribute.cs
- complextypematerializer.cs
- SamlAssertion.cs
- QilXmlReader.cs
- ErrorReporting.cs
- Rijndael.cs
- precedingquery.cs
- BoundColumn.cs
- WindowsListBox.cs
- PreviewControlDesigner.cs
- URLAttribute.cs
- OdbcException.cs
- TimeEnumHelper.cs
- EnumCodeDomSerializer.cs
- HttpConfigurationSystem.cs
- StrongNamePublicKeyBlob.cs
- LambdaCompiler.Lambda.cs
- BackStopAuthenticationModule.cs
- SpotLight.cs
- HttpListenerPrefixCollection.cs
- LineInfo.cs
- CookieHandler.cs
- JsonDataContract.cs
- CompressionTransform.cs
- TraceListeners.cs
- SelectionRangeConverter.cs
- ResourceContainer.cs
- SrgsSemanticInterpretationTag.cs
- StorageEndPropertyMapping.cs
- EmptyEnumerator.cs
- BindingContext.cs
- Propagator.ExtentPlaceholderCreator.cs
- DataGridViewRowsRemovedEventArgs.cs
- SelectionEditor.cs
- NativeMethods.cs
- LicFileLicenseProvider.cs
- SqlCacheDependency.cs
- BitArray.cs
- UrlMapping.cs
- ConstructorBuilder.cs
- GotoExpression.cs
- MiniCustomAttributeInfo.cs
- HighContrastHelper.cs
- AppSecurityManager.cs
- DtdParser.cs
- RequestUriProcessor.cs
- TemplateControl.cs
- OperationInfo.cs
- FilterUserControlBase.cs
- SmtpFailedRecipientsException.cs
- SetterBase.cs
- ApplicationId.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- MasterPageParser.cs
- StylusButtonEventArgs.cs
- XmlSchemaChoice.cs
- Attribute.cs
- BamlResourceSerializer.cs
- Int64AnimationBase.cs
- HMAC.cs
- WindowPattern.cs
- SchemaImporterExtensionElementCollection.cs
- SolidColorBrush.cs
- SystemPens.cs
- _RequestLifetimeSetter.cs
- PropertyGeneratedEventArgs.cs
- TrackingCondition.cs
- Viewport3DVisual.cs
- ExtendedProtectionPolicy.cs
- SafeBitVector32.cs
- XPathMessageFilterTable.cs
- ConfigsHelper.cs
- BitmapCodecInfo.cs
- Utils.cs
- ByeMessageCD1.cs
- SizeChangedInfo.cs
- WebPartMenu.cs
- DataContractSerializer.cs
- ListChunk.cs
- TimeZoneNotFoundException.cs
- RuleConditionDialog.cs
- ObjectHelper.cs
- Separator.cs
- EarlyBoundInfo.cs
- MessageQueuePermissionEntry.cs
- ColorTranslator.cs
- UIElementIsland.cs
- WeakRefEnumerator.cs
- Expressions.cs
- SoapFault.cs
- RoutedUICommand.cs
- NamedObject.cs
- EdmItemCollection.cs
- OleDbCommandBuilder.cs
- CompositeActivityValidator.cs
- EntityContainerEmitter.cs