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
- BrowserCapabilitiesCompiler.cs
- CompilationLock.cs
- DataGridViewButtonCell.cs
- ProfilePropertySettings.cs
- ToolStripDropDownButton.cs
- linebase.cs
- StrongNameMembershipCondition.cs
- RelationshipNavigation.cs
- SpecialFolderEnumConverter.cs
- SchemaHelper.cs
- Light.cs
- AppLevelCompilationSectionCache.cs
- WebDescriptionAttribute.cs
- CollectionExtensions.cs
- Schema.cs
- XmlSchemaType.cs
- Root.cs
- AVElementHelper.cs
- Function.cs
- BitmapEffectInput.cs
- MemberDescriptor.cs
- PropertyBuilder.cs
- ExpressionConverter.cs
- NativeMethods.cs
- EntityConnection.cs
- ToolStripPanel.cs
- VerticalAlignConverter.cs
- PageSettings.cs
- MetadataItemSerializer.cs
- PageThemeParser.cs
- CodeParameterDeclarationExpression.cs
- Polyline.cs
- Assembly.cs
- XmlILTrace.cs
- ColorMatrix.cs
- _SafeNetHandles.cs
- ObjRef.cs
- FontWeights.cs
- CompilerGeneratedAttribute.cs
- TimeoutValidationAttribute.cs
- DesignerVerb.cs
- MobileControlsSection.cs
- ISAPIWorkerRequest.cs
- Certificate.cs
- ReadOnlyDataSource.cs
- PageEventArgs.cs
- ListBindableAttribute.cs
- ErrorRuntimeConfig.cs
- FixUp.cs
- ChangeBlockUndoRecord.cs
- CorePropertiesFilter.cs
- TaskCanceledException.cs
- AttachmentCollection.cs
- TextSegment.cs
- Expressions.cs
- InvokeBase.cs
- DataRelationCollection.cs
- CultureInfoConverter.cs
- ResourceExpressionBuilder.cs
- FixedSOMTableCell.cs
- HostingEnvironmentWrapper.cs
- Condition.cs
- TogglePatternIdentifiers.cs
- XmlSchemaAnnotated.cs
- ZipIOLocalFileHeader.cs
- SqlLiftWhereClauses.cs
- HealthMonitoringSectionHelper.cs
- ListViewSelectEventArgs.cs
- WebPartsPersonalization.cs
- Native.cs
- X509SecurityTokenAuthenticator.cs
- InlinedAggregationOperatorEnumerator.cs
- StaticDataManager.cs
- LinqDataSourceInsertEventArgs.cs
- ThreadExceptionEvent.cs
- hresults.cs
- CollectionsUtil.cs
- IdentityModelStringsVersion1.cs
- OuterGlowBitmapEffect.cs
- SqlCacheDependency.cs
- RootProfilePropertySettingsCollection.cs
- XmlSchemaRedefine.cs
- HtmlWindow.cs
- RuntimeConfig.cs
- EventLogWatcher.cs
- LinqTreeNodeEvaluator.cs
- Constraint.cs
- EastAsianLunisolarCalendar.cs
- InputBuffer.cs
- PenContexts.cs
- CompositeControl.cs
- MarkedHighlightComponent.cs
- UndoManager.cs
- ValueQuery.cs
- MarkerProperties.cs
- UInt16Storage.cs
- CustomCredentialPolicy.cs
- XmlSchemaSimpleTypeUnion.cs
- altserialization.cs
- CurrentChangingEventManager.cs