Code:
/ 4.0 / 4.0 / 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. // 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
- SmuggledIUnknown.cs
- UrlRoutingModule.cs
- XPathDescendantIterator.cs
- ItemsPresenter.cs
- GeneratedView.cs
- recordstatescratchpad.cs
- _UriSyntax.cs
- Label.cs
- TextElement.cs
- RewritingProcessor.cs
- InvalidOperationException.cs
- CodeTypeReferenceExpression.cs
- BulletedList.cs
- LockedHandleGlyph.cs
- SmtpClient.cs
- ServiceModelEnhancedConfigurationElementCollection.cs
- DebuggerAttributes.cs
- WsatConfiguration.cs
- Stopwatch.cs
- ConfigurationManagerHelperFactory.cs
- InstancePersistenceCommandException.cs
- XmlBinaryReader.cs
- ToolboxItemAttribute.cs
- AccessibilityApplicationManager.cs
- XmlSchemaElement.cs
- BasicExpressionVisitor.cs
- UTF8Encoding.cs
- CompositeControl.cs
- SchemaSetCompiler.cs
- AssertUtility.cs
- FlagsAttribute.cs
- RSAPKCS1SignatureDeformatter.cs
- BackgroundWorker.cs
- WindowsListViewGroupSubsetLink.cs
- RequestBringIntoViewEventArgs.cs
- TemplateManager.cs
- Application.cs
- OrderingInfo.cs
- QueryOutputWriter.cs
- ManipulationStartedEventArgs.cs
- DBConnection.cs
- Convert.cs
- Dump.cs
- PtsPage.cs
- DesignerProperties.cs
- BoundingRectTracker.cs
- _Semaphore.cs
- InputScopeManager.cs
- GroupItemAutomationPeer.cs
- CodeSubDirectoriesCollection.cs
- DateTimeSerializationSection.cs
- DataGridCell.cs
- NotifyInputEventArgs.cs
- Composition.cs
- DataPagerCommandEventArgs.cs
- WmiInstallComponent.cs
- EventListenerClientSide.cs
- ValidatingReaderNodeData.cs
- OperationCanceledException.cs
- ToolStripSettings.cs
- DataGridViewCellStyleBuilderDialog.cs
- WebServiceResponse.cs
- ControlAdapter.cs
- InternalRelationshipCollection.cs
- SHA384Managed.cs
- ImpersonateTokenRef.cs
- DoubleLinkListEnumerator.cs
- odbcmetadatafactory.cs
- WorkflowMarkupSerializationException.cs
- RuntimeConfig.cs
- GeometryCollection.cs
- GuidConverter.cs
- RegexMatch.cs
- PropertySourceInfo.cs
- WizardStepBase.cs
- SiteMapNode.cs
- WebPartConnectionsEventArgs.cs
- EntityDesignPluralizationHandler.cs
- WindowsTooltip.cs
- XPathNavigatorReader.cs
- RotateTransform3D.cs
- DetailsViewInsertEventArgs.cs
- ResourcePermissionBase.cs
- HttpGetProtocolReflector.cs
- SystemIPInterfaceProperties.cs
- SQLBytesStorage.cs
- NativeCompoundFileAPIs.cs
- HashStream.cs
- NamedPermissionSet.cs
- ObservableCollection.cs
- DirectoryRedirect.cs
- SafeHandle.cs
- BindingMAnagerBase.cs
- DocumentGridPage.cs
- SharedPersonalizationStateInfo.cs
- BlurBitmapEffect.cs
- UTF32Encoding.cs
- BackStopAuthenticationModule.cs
- CompiledRegexRunnerFactory.cs
- ResourceSetExpression.cs