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
- DockProviderWrapper.cs
- TextEndOfParagraph.cs
- TCEAdapterGenerator.cs
- TTSEvent.cs
- controlskin.cs
- RelatedEnd.cs
- DetailsViewPagerRow.cs
- ThemeInfoAttribute.cs
- KeyNotFoundException.cs
- ClientEventManager.cs
- GPPOINTF.cs
- SecurityContext.cs
- TextEffect.cs
- BitmapEffectState.cs
- SafeRightsManagementPubHandle.cs
- TypeListConverter.cs
- WeakEventTable.cs
- QuotedPrintableStream.cs
- AtomMaterializerLog.cs
- QueryTaskGroupState.cs
- WebPartMenuStyle.cs
- Cursors.cs
- OpCopier.cs
- BuildResultCache.cs
- WorkflowServiceNamespace.cs
- WebBrowserPermission.cs
- DnsEndPoint.cs
- UserControlBuildProvider.cs
- HatchBrush.cs
- DataSourceHelper.cs
- XamlUtilities.cs
- PropertyEntry.cs
- DataGridPagerStyle.cs
- DataRowCollection.cs
- WebConfigurationHost.cs
- SqlServices.cs
- FieldReference.cs
- ImageFormat.cs
- PropertyStore.cs
- HttpWebRequestElement.cs
- LinqDataSourceHelper.cs
- ProcessHost.cs
- NotImplementedException.cs
- EditingCoordinator.cs
- EventLogPermission.cs
- ImageConverter.cs
- XmlSchemaComplexType.cs
- HttpMethodAttribute.cs
- WindowsAuthenticationModule.cs
- SerializationStore.cs
- CryptoApi.cs
- CloseSequence.cs
- WindowsListViewGroup.cs
- Point3DAnimation.cs
- TimeStampChecker.cs
- ListParaClient.cs
- InlinedAggregationOperatorEnumerator.cs
- ExpressionsCollectionConverter.cs
- IdnElement.cs
- ProfileParameter.cs
- ToolStripSeparatorRenderEventArgs.cs
- DataContractAttribute.cs
- WebBrowserNavigatedEventHandler.cs
- ListView.cs
- ValueProviderWrapper.cs
- CompiledXpathExpr.cs
- TcpTransportManager.cs
- ComponentDispatcher.cs
- VisualProxy.cs
- StandardMenuStripVerb.cs
- PrtTicket_Public.cs
- InheritanceContextChangedEventManager.cs
- X509Utils.cs
- PropertyEmitter.cs
- UnicodeEncoding.cs
- QueryResponse.cs
- X509SecurityTokenAuthenticator.cs
- wgx_exports.cs
- EventMappingSettingsCollection.cs
- MenuCommands.cs
- UnknownMessageReceivedEventArgs.cs
- StringPropertyBuilder.cs
- BindingSource.cs
- UrlEncodedParameterWriter.cs
- _ShellExpression.cs
- VisualBasicDesignerHelper.cs
- sqlstateclientmanager.cs
- Vector3DValueSerializer.cs
- EFColumnProvider.cs
- StrokeDescriptor.cs
- Quaternion.cs
- pingexception.cs
- TextView.cs
- LineInfo.cs
- DataSourceIDConverter.cs
- BamlRecordReader.cs
- DynamicResourceExtension.cs
- SupportsEventValidationAttribute.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- ElementProxy.cs