Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.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
- Monitor.cs
- StreamWithDictionary.cs
- UnaryNode.cs
- RenderingEventArgs.cs
- WhitespaceSignificantCollectionAttribute.cs
- SelectionWordBreaker.cs
- X509ClientCertificateAuthentication.cs
- odbcmetadatafactory.cs
- ExtensibleClassFactory.cs
- FormViewDeleteEventArgs.cs
- NullableFloatMinMaxAggregationOperator.cs
- Label.cs
- HttpApplicationFactory.cs
- StrongNameHelpers.cs
- UIElement3D.cs
- SyntaxCheck.cs
- ResourceBinder.cs
- EnumValidator.cs
- SuppressMergeCheckAttribute.cs
- AddIn.cs
- CanonicalFontFamilyReference.cs
- TextServicesProperty.cs
- PathData.cs
- GeometryConverter.cs
- MouseGestureValueSerializer.cs
- CompoundFileStreamReference.cs
- GridItem.cs
- SurrogateEncoder.cs
- ListViewSelectEventArgs.cs
- OptimalBreakSession.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- TextSegment.cs
- MissingMethodException.cs
- RangeBaseAutomationPeer.cs
- RectValueSerializer.cs
- MeshGeometry3D.cs
- validation.cs
- ListQueryResults.cs
- dataSvcMapFileLoader.cs
- MeshGeometry3D.cs
- HandleRef.cs
- IDReferencePropertyAttribute.cs
- PointAnimationBase.cs
- SqlIdentifier.cs
- DependencyObjectProvider.cs
- WebEventTraceProvider.cs
- CompositeActivityValidator.cs
- Vector3D.cs
- CollectionViewGroupInternal.cs
- IndicFontClient.cs
- WebPartConnectionsCancelVerb.cs
- Matrix.cs
- RsaSecurityKey.cs
- URLBuilder.cs
- GeometryConverter.cs
- SecurityContext.cs
- MetaColumn.cs
- DesignerWidgets.cs
- MarkupCompilePass1.cs
- ImageFormatConverter.cs
- IdentifierService.cs
- ProjectedSlot.cs
- ServiceDescription.cs
- TextRenderingModeValidation.cs
- sqlstateclientmanager.cs
- Mapping.cs
- HwndStylusInputProvider.cs
- DocumentSequenceHighlightLayer.cs
- CatalogZoneBase.cs
- EmptyEnumerator.cs
- MenuCommand.cs
- MsmqIntegrationElement.cs
- BrowserCapabilitiesFactory.cs
- EventPrivateKey.cs
- SelectionPatternIdentifiers.cs
- BrushMappingModeValidation.cs
- WSFederationHttpBindingCollectionElement.cs
- LexicalChunk.cs
- SuppressMergeCheckAttribute.cs
- ReverseInheritProperty.cs
- ContentDesigner.cs
- ValueOfAction.cs
- Context.cs
- QilStrConcat.cs
- GridViewColumnHeaderAutomationPeer.cs
- DrawingContext.cs
- CircleHotSpot.cs
- RSAPKCS1SignatureDeformatter.cs
- ElementHostAutomationPeer.cs
- DataViewManager.cs
- ThemeDirectoryCompiler.cs
- RotationValidation.cs
- FormsAuthenticationUserCollection.cs
- AtomServiceDocumentSerializer.cs
- StatusBarDesigner.cs
- ResourceManager.cs
- BitStack.cs
- ObjectHelper.cs
- XhtmlBasicValidationSummaryAdapter.cs
- Unit.cs