Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / StateItem.cs / 1 / StateItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; using System.Security.Permissions; /* * The StateItem class * by the StateBag class. * The StateItem has an object value, a dirty flag. */ ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class StateItem { private object value; private bool isDirty; /* * Constructs a StateItem with an initial value. */ internal StateItem(object initialValue) { value = initialValue; isDirty = false; } /* * Property to indicate StateItem has been modified. */ ///Represents an item that is saved in the ///class when view state /// information is persisted between Web requests. /// public bool IsDirty { get { return isDirty; } set { isDirty = value; } } /* * Property to access the StateItem value. */ ///Indicates whether the ///object has been modified. /// public object Value { get { return value; } set { this.value = value; } } } }Indicates the value of the item that is stored in the ////// object.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XPathSelfQuery.cs
- ColumnBinding.cs
- TransactionTable.cs
- TraceContext.cs
- CodeParameterDeclarationExpression.cs
- _AutoWebProxyScriptWrapper.cs
- XmlAttributeCollection.cs
- TransportConfigurationTypeElementCollection.cs
- RouteParametersHelper.cs
- XmlTypeAttribute.cs
- ScriptHandlerFactory.cs
- MethodExpr.cs
- ProxyGenerator.cs
- TrackingDataItem.cs
- EntitySqlQueryCacheEntry.cs
- RsaSecurityKey.cs
- ControlTemplate.cs
- OdbcStatementHandle.cs
- DataSourceConverter.cs
- RefreshPropertiesAttribute.cs
- IfJoinedCondition.cs
- WindowsComboBox.cs
- HitTestWithGeometryDrawingContextWalker.cs
- Utils.cs
- CacheModeConverter.cs
- EmulateRecognizeCompletedEventArgs.cs
- BaseCollection.cs
- SingleQueryOperator.cs
- EventHandlersStore.cs
- RadioButtonPopupAdapter.cs
- ProgressChangedEventArgs.cs
- XmlSchemaDatatype.cs
- exports.cs
- StateRuntime.cs
- DataGridViewCellLinkedList.cs
- ListBindingConverter.cs
- FixedTextView.cs
- TypeDescriptionProviderAttribute.cs
- InvalidOperationException.cs
- CommandManager.cs
- GeneratedContractType.cs
- List.cs
- ExtenderProviderService.cs
- PersonalizationStateInfoCollection.cs
- DataServiceHostWrapper.cs
- DeleteMemberBinder.cs
- CodeCompileUnit.cs
- TabControl.cs
- DynamicValidator.cs
- EpmContentSerializer.cs
- PassportAuthenticationEventArgs.cs
- MenuCommand.cs
- AttachedAnnotationChangedEventArgs.cs
- FramingFormat.cs
- CallbackValidator.cs
- FileNotFoundException.cs
- ProcessModuleDesigner.cs
- GeometryHitTestResult.cs
- XmlSchemaComplexContent.cs
- HttpDebugHandler.cs
- CatalogPart.cs
- DockAndAnchorLayout.cs
- IPEndPointCollection.cs
- TableLayoutCellPaintEventArgs.cs
- Keyboard.cs
- ImmutableCollection.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ReceiveSecurityHeaderEntry.cs
- SmiSettersStream.cs
- FormDesigner.cs
- FixedSOMLineRanges.cs
- ClientSession.cs
- CustomAttributeBuilder.cs
- XmlImplementation.cs
- Char.cs
- MetafileHeaderWmf.cs
- EntityConnectionStringBuilder.cs
- TextHidden.cs
- ipaddressinformationcollection.cs
- ProviderIncompatibleException.cs
- MediaEntryAttribute.cs
- DataColumnPropertyDescriptor.cs
- ServerIdentity.cs
- DataSourceControlBuilder.cs
- SqlUnionizer.cs
- TemplateKeyConverter.cs
- cookiecollection.cs
- InkCollectionBehavior.cs
- AsyncWaitHandle.cs
- WorkflowControlClient.cs
- XmlElementElementCollection.cs
- PeerNameRegistration.cs
- RelatedImageListAttribute.cs
- SafeHandles.cs
- CommandPlan.cs
- DoubleCollection.cs
- ProfileSettings.cs
- CapabilitiesPattern.cs
- SortDescription.cs
- RSAPKCS1SignatureDeformatter.cs