Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / StateItem.cs / 1305376 / StateItem.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI { using System; /* * The StateItem class * by the StateBag class. * The StateItem has an object value, a dirty flag. */ ////// 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.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
- UnionCodeGroup.cs
- CacheDependency.cs
- ActivityScheduledQuery.cs
- PaginationProgressEventArgs.cs
- RelatedImageListAttribute.cs
- ExcludePathInfo.cs
- SMSvcHost.cs
- EnumValAlphaComparer.cs
- SimpleMailWebEventProvider.cs
- ConversionHelper.cs
- SQLInt64Storage.cs
- AttributeEmitter.cs
- PrivacyNoticeBindingElementImporter.cs
- EntityFrameworkVersions.cs
- XmlSchemaSimpleContentRestriction.cs
- StructuredCompositeActivityDesigner.cs
- VerificationAttribute.cs
- PropertyBuilder.cs
- ImageMapEventArgs.cs
- LocatorManager.cs
- InitializeCorrelation.cs
- TdsValueSetter.cs
- ObjectDataSourceFilteringEventArgs.cs
- LinkConverter.cs
- DataGridViewIntLinkedList.cs
- GeneralTransform3DTo2D.cs
- MobileSysDescriptionAttribute.cs
- CompatibleIComparer.cs
- Processor.cs
- PeerTransportListenAddressConverter.cs
- InputProviderSite.cs
- Clause.cs
- StringFormat.cs
- StylusCaptureWithinProperty.cs
- CustomWebEventKey.cs
- XmlSchemaCompilationSettings.cs
- TextContainer.cs
- GenericAuthenticationEventArgs.cs
- FormsAuthenticationEventArgs.cs
- NetMsmqSecurityMode.cs
- Expander.cs
- Visual3D.cs
- DropTarget.cs
- RadioButtonStandardAdapter.cs
- GenericIdentity.cs
- SQLCharsStorage.cs
- StackOverflowException.cs
- TypeUsage.cs
- QuadraticBezierSegment.cs
- FlowLayoutSettings.cs
- PipelineComponent.cs
- LocalValueEnumerator.cs
- JsonFormatGeneratorStatics.cs
- Matrix.cs
- GenericsNotImplementedException.cs
- WebPartChrome.cs
- HttpClientCertificate.cs
- StylusPointProperties.cs
- ObjectTokenCategory.cs
- DataAdapter.cs
- Selector.cs
- XamlReader.cs
- ProfilePropertySettingsCollection.cs
- CheckPair.cs
- MDIClient.cs
- BinaryObjectInfo.cs
- SQLDateTimeStorage.cs
- DoubleCollection.cs
- XmlSerializationGeneratedCode.cs
- HtmlToClrEventProxy.cs
- XmlElementAttribute.cs
- ColorConvertedBitmap.cs
- AppSettingsExpressionEditor.cs
- DataGridViewCellEventArgs.cs
- XmlSchemas.cs
- AVElementHelper.cs
- XmlSchemaObjectTable.cs
- MutexSecurity.cs
- fixedPageContentExtractor.cs
- TypeSource.cs
- SmiRecordBuffer.cs
- BasicBrowserDialog.cs
- SrgsNameValueTag.cs
- DynamicRouteExpression.cs
- TraceSource.cs
- XmlLoader.cs
- CompiledQueryCacheKey.cs
- CompileXomlTask.cs
- MethodSignatureGenerator.cs
- ProfilePropertySettingsCollection.cs
- BinarySerializer.cs
- Ipv6Element.cs
- ConfigurationLocationCollection.cs
- HandleExceptionArgs.cs
- CustomValidator.cs
- CreateUserErrorEventArgs.cs
- KnownTypes.cs
- WebPartDisplayMode.cs
- FormatConvertedBitmap.cs
- QuaternionRotation3D.cs