Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.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
- CellQuery.cs
- SizeChangedEventArgs.cs
- EditingCommands.cs
- ResourceProperty.cs
- InheritanceContextChangedEventManager.cs
- CommandEventArgs.cs
- WebPartEditorCancelVerb.cs
- GacUtil.cs
- DispatcherProcessingDisabled.cs
- BuildProviderUtils.cs
- ControlBindingsCollection.cs
- complextypematerializer.cs
- XmlElementAttributes.cs
- PlatformNotSupportedException.cs
- PresentationAppDomainManager.cs
- GridView.cs
- DateTimeConstantAttribute.cs
- ConstructorBuilder.cs
- HtmlTitle.cs
- Color.cs
- PrivacyNoticeBindingElementImporter.cs
- InvariantComparer.cs
- XPathAxisIterator.cs
- DesignBindingEditor.cs
- RectAnimationBase.cs
- ThreadExceptionDialog.cs
- BinaryFormatterWriter.cs
- CqlGenerator.cs
- DataListCommandEventArgs.cs
- TextEditorCopyPaste.cs
- PrintingPermission.cs
- Grammar.cs
- Region.cs
- PrivateFontCollection.cs
- DynamicRendererThreadManager.cs
- BrushValueSerializer.cs
- UnsafeNativeMethodsTablet.cs
- AuthenticationSection.cs
- PrintingPermissionAttribute.cs
- Quad.cs
- ReferentialConstraint.cs
- PrintingPermission.cs
- ServiceModelConfigurationSectionGroup.cs
- DbRetry.cs
- GridLengthConverter.cs
- KeySplineConverter.cs
- EdmSchemaError.cs
- KerberosSecurityTokenAuthenticator.cs
- CompilationPass2Task.cs
- MaterialGroup.cs
- basecomparevalidator.cs
- AsyncOperationManager.cs
- TransactionInformation.cs
- ProcessHostFactoryHelper.cs
- DesignTimeSiteMapProvider.cs
- SelectorAutomationPeer.cs
- FileSystemEnumerable.cs
- sqlinternaltransaction.cs
- XmlIterators.cs
- FormViewInsertEventArgs.cs
- TypefaceCollection.cs
- ContentOperations.cs
- FixedTextView.cs
- DisplayInformation.cs
- InvalidTimeZoneException.cs
- AlternationConverter.cs
- CellIdBoolean.cs
- LogFlushAsyncResult.cs
- ArraySet.cs
- LogRecordSequence.cs
- Int32CAMarshaler.cs
- CommandHelpers.cs
- SafeViewOfFileHandle.cs
- EditorAttributeInfo.cs
- _SslSessionsCache.cs
- ImageFormatConverter.cs
- ScrollItemPattern.cs
- DbProviderFactories.cs
- HttpRequestCacheValidator.cs
- Misc.cs
- FixedFindEngine.cs
- XmlSerializationGeneratedCode.cs
- HtmlControlAdapter.cs
- GotoExpression.cs
- UrlAuthorizationModule.cs
- Part.cs
- Validator.cs
- SecurityRuntime.cs
- XsltLibrary.cs
- Event.cs
- SortFieldComparer.cs
- XmlSchemaAnnotation.cs
- EncryptedPackage.cs
- FixedDocumentPaginator.cs
- SpeakCompletedEventArgs.cs
- XmlSchemaGroup.cs
- SpeakInfo.cs
- DispatchChannelSink.cs
- MenuItemBinding.cs
- StatusBarPanel.cs