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
- Int16Converter.cs
- SimpleRecyclingCache.cs
- SqlInternalConnectionSmi.cs
- GraphicsContext.cs
- MD5CryptoServiceProvider.cs
- ImageMapEventArgs.cs
- DesignerWidgets.cs
- RefreshEventArgs.cs
- BufferedGraphics.cs
- BookmarkWorkItem.cs
- PersianCalendar.cs
- X509Certificate.cs
- ElementHost.cs
- CommandLineParser.cs
- ObjectStateManager.cs
- ErrorHandler.cs
- CodeMemberProperty.cs
- unitconverter.cs
- FileDataSourceCache.cs
- RegexCompilationInfo.cs
- XmlUTF8TextWriter.cs
- Convert.cs
- ErrorRuntimeConfig.cs
- Quaternion.cs
- RangeBaseAutomationPeer.cs
- AttachedProperty.cs
- XmlWrappingReader.cs
- ResponseBodyWriter.cs
- MarkupExtensionReturnTypeAttribute.cs
- Classification.cs
- ParseNumbers.cs
- CallSite.cs
- ErrorFormatter.cs
- XmlSchemaSubstitutionGroup.cs
- AttachInfo.cs
- PassportAuthentication.cs
- SelectingProviderEventArgs.cs
- MergeEnumerator.cs
- ServiceParser.cs
- OdbcStatementHandle.cs
- TreeWalkHelper.cs
- PrimitiveType.cs
- XmlValidatingReader.cs
- Utils.cs
- httpserverutility.cs
- XmlSchemaSubstitutionGroup.cs
- RemotingHelper.cs
- QilPatternVisitor.cs
- InputReport.cs
- XmlObjectSerializerReadContext.cs
- XmlTextReaderImplHelpers.cs
- _ConnectStream.cs
- TimeSpanStorage.cs
- GridEntry.cs
- Separator.cs
- TypeConverterHelper.cs
- ProtocolReflector.cs
- MailAddressCollection.cs
- SecurityHeader.cs
- TextElementAutomationPeer.cs
- TcpWorkerProcess.cs
- ToolStripContentPanel.cs
- DSASignatureDeformatter.cs
- KeyFrames.cs
- StateRuntime.cs
- RadioButtonBaseAdapter.cs
- InputProcessorProfilesLoader.cs
- counter.cs
- _LocalDataStoreMgr.cs
- SchemaAttDef.cs
- RegexRunnerFactory.cs
- XmlQualifiedName.cs
- IISMapPath.cs
- SoapInteropTypes.cs
- DataBoundControlAdapter.cs
- commandenforcer.cs
- ReadOnlyDictionary.cs
- KeyedCollection.cs
- MethodCallConverter.cs
- SchemaElementDecl.cs
- OutputCacheModule.cs
- CompilerError.cs
- StorageComplexPropertyMapping.cs
- EventToken.cs
- selecteditemcollection.cs
- ECDiffieHellmanCngPublicKey.cs
- printdlgexmarshaler.cs
- StdValidatorsAndConverters.cs
- XmlSchemaImporter.cs
- RuntimeEnvironment.cs
- Clock.cs
- OracleInternalConnection.cs
- WorkflowEventArgs.cs
- SelectionProviderWrapper.cs
- Console.cs
- BamlRecordReader.cs
- ZoneIdentityPermission.cs
- FilteredReadOnlyMetadataCollection.cs
- StatusCommandUI.cs
- GenericTypeParameterBuilder.cs