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
- Region.cs
- XXXOnTypeBuilderInstantiation.cs
- DiscoveryOperationContext.cs
- XmlJsonReader.cs
- AnnotationResourceChangedEventArgs.cs
- AsnEncodedData.cs
- VisualStyleRenderer.cs
- PixelFormats.cs
- BoundColumn.cs
- ComponentConverter.cs
- ChangeConflicts.cs
- HttpCachePolicy.cs
- Attributes.cs
- Errors.cs
- SendingRequestEventArgs.cs
- OleDbErrorCollection.cs
- ValueTable.cs
- IISMapPath.cs
- httpserverutility.cs
- ToolboxComponentsCreatingEventArgs.cs
- Pens.cs
- IndexingContentUnit.cs
- WindowsAltTab.cs
- CatalogPart.cs
- SHA512.cs
- Utilities.cs
- ConfigurationSettings.cs
- TemplateBindingExtensionConverter.cs
- _NegoStream.cs
- ScrollPattern.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- RIPEMD160Managed.cs
- Viewport3DAutomationPeer.cs
- VisualStyleElement.cs
- SocketCache.cs
- Canvas.cs
- XDRSchema.cs
- InternalReceiveMessage.cs
- HttpListener.cs
- ClickablePoint.cs
- PlatformNotSupportedException.cs
- CLRBindingWorker.cs
- TargetException.cs
- PreDigestedSignedInfo.cs
- MarkupExtensionParser.cs
- TableLayoutSettings.cs
- StickyNoteAnnotations.cs
- Base64Encoding.cs
- HtmlFormParameterWriter.cs
- DragDeltaEventArgs.cs
- BinaryFormatterWriter.cs
- QilSortKey.cs
- PropertyPathConverter.cs
- LayoutEvent.cs
- XamlNamespaceHelper.cs
- FileFormatException.cs
- ObjectCacheSettings.cs
- LinkTarget.cs
- ZipFileInfo.cs
- AssemblyCollection.cs
- FixedTextBuilder.cs
- HelpEvent.cs
- ObjRef.cs
- JulianCalendar.cs
- XPathNodeIterator.cs
- OdbcConnectionString.cs
- Baml2006ReaderFrame.cs
- Activation.cs
- HandlerElement.cs
- SQLBinary.cs
- ReadOnlyDictionary.cs
- HtmlDocument.cs
- GAC.cs
- RangeValuePatternIdentifiers.cs
- WebPartsPersonalization.cs
- CodeAttributeDeclaration.cs
- _NetworkingPerfCounters.cs
- IDQuery.cs
- InternalSafeNativeMethods.cs
- PassportAuthentication.cs
- HostingEnvironmentWrapper.cs
- ClientConfigPaths.cs
- VoiceInfo.cs
- KeyboardEventArgs.cs
- PreservationFileWriter.cs
- SpotLight.cs
- UnsafeNativeMethods.cs
- CustomAttribute.cs
- GregorianCalendar.cs
- ObjectDesignerDataSourceView.cs
- RouteValueDictionary.cs
- XmlStreamedByteStreamReader.cs
- ConsumerConnectionPointCollection.cs
- ScriptControlManager.cs
- OverlappedAsyncResult.cs
- SimpleType.cs
- Command.cs
- HorizontalAlignConverter.cs
- TransformerInfoCollection.cs
- HostedElements.cs