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
- Directory.cs
- PointCollectionConverter.cs
- EntityContainer.cs
- ParseHttpDate.cs
- DataException.cs
- FileAuthorizationModule.cs
- Publisher.cs
- ButtonField.cs
- LocatorGroup.cs
- ForwardPositionQuery.cs
- Line.cs
- SingleObjectCollection.cs
- SHA512Managed.cs
- AssemblyResolver.cs
- SqlBuffer.cs
- WorkItem.cs
- InvalidComObjectException.cs
- ToolStripItemRenderEventArgs.cs
- AutomationElement.cs
- IsolatedStorage.cs
- LinearQuaternionKeyFrame.cs
- MembershipUser.cs
- DataGridViewTopRowAccessibleObject.cs
- ColumnResizeUndoUnit.cs
- ReservationCollection.cs
- StyleModeStack.cs
- infer.cs
- BackgroundFormatInfo.cs
- UndirectedGraph.cs
- _KerberosClient.cs
- EmbeddedMailObjectCollectionEditor.cs
- KeyGesture.cs
- MessageQueueEnumerator.cs
- SessionStateUtil.cs
- CollectionViewGroup.cs
- ObjectTag.cs
- XPathBinder.cs
- StreamWriter.cs
- SingleStorage.cs
- TextElementEnumerator.cs
- AccessText.cs
- DataBoundControl.cs
- SessionStateUtil.cs
- DeviceContext2.cs
- TypeBuilderInstantiation.cs
- _NestedMultipleAsyncResult.cs
- XsltFunctions.cs
- DataServiceExpressionVisitor.cs
- WebPartConnectionsCancelEventArgs.cs
- DefaultValueAttribute.cs
- ClickablePoint.cs
- PropertyEntry.cs
- Win32Native.cs
- CompoundFileReference.cs
- DPTypeDescriptorContext.cs
- SuppressIldasmAttribute.cs
- CurrencyWrapper.cs
- StatusBarAutomationPeer.cs
- ILGenerator.cs
- OracleString.cs
- EntityDataSourceWrapperCollection.cs
- FileLevelControlBuilderAttribute.cs
- PathFigure.cs
- RedirectionProxy.cs
- ToolTipService.cs
- EntityDataSourceDesigner.cs
- LocatorGroup.cs
- BoolLiteral.cs
- NotifyInputEventArgs.cs
- ConfigurationValidatorBase.cs
- CopyOfAction.cs
- ExtendedTransformFactory.cs
- BitmapEncoder.cs
- IPPacketInformation.cs
- Soap.cs
- SQLDateTime.cs
- ADMembershipProvider.cs
- SpellerHighlightLayer.cs
- RangeContentEnumerator.cs
- GenericUriParser.cs
- Vector3DCollectionValueSerializer.cs
- EnvelopedPkcs7.cs
- ContextMenuAutomationPeer.cs
- TreeWalker.cs
- XamlReader.cs
- FormClosingEvent.cs
- DesignerMetadata.cs
- DataKeyArray.cs
- TransformGroup.cs
- GridEntryCollection.cs
- SafeEventHandle.cs
- URI.cs
- Image.cs
- ToggleButtonAutomationPeer.cs
- DialogDivider.cs
- Rijndael.cs
- ApplicationServicesHostFactory.cs
- PerfService.cs
- IFlowDocumentViewer.cs
- MetadataUtilsSmi.cs