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
- CompiledRegexRunnerFactory.cs
- printdlgexmarshaler.cs
- HandlerFactoryCache.cs
- listviewsubitemcollectioneditor.cs
- FragmentNavigationEventArgs.cs
- ContentDefinition.cs
- PositiveTimeSpanValidator.cs
- ArrangedElementCollection.cs
- GetRecipientRequest.cs
- EntityCommand.cs
- AssociationSetEnd.cs
- SHA1.cs
- AnonymousIdentificationModule.cs
- Model3DCollection.cs
- DbProviderServices.cs
- ResponseBodyWriter.cs
- objectresult_tresulttype.cs
- Icon.cs
- VarRemapper.cs
- SelectionEditor.cs
- LinearQuaternionKeyFrame.cs
- TextTreeTextBlock.cs
- NativeMethods.cs
- DataGridViewHitTestInfo.cs
- AdapterDictionary.cs
- BrowserDefinitionCollection.cs
- basecomparevalidator.cs
- GridViewPageEventArgs.cs
- SetStateDesigner.cs
- CompositeDataBoundControl.cs
- ClientConvert.cs
- PolyBezierSegment.cs
- DataTableReader.cs
- AssemblyAttributes.cs
- TemplateBamlRecordReader.cs
- Message.cs
- InputReportEventArgs.cs
- DiscoveryClientElement.cs
- OptimisticConcurrencyException.cs
- StubHelpers.cs
- RootDesignerSerializerAttribute.cs
- WebBaseEventKeyComparer.cs
- ControlDesigner.cs
- ValueType.cs
- SettingsBase.cs
- StylusPointProperty.cs
- PropertyPath.cs
- AsyncStreamReader.cs
- EventPrivateKey.cs
- DataFormat.cs
- GACMembershipCondition.cs
- ToolStripEditorManager.cs
- xml.cs
- ValuePattern.cs
- CryptoApi.cs
- SecurityKeyType.cs
- ScaleTransform3D.cs
- AnnotationMap.cs
- MarkupProperty.cs
- log.cs
- SmtpAuthenticationManager.cs
- MethodBuilderInstantiation.cs
- safePerfProviderHandle.cs
- ResourceReferenceKeyNotFoundException.cs
- Clipboard.cs
- SnapshotChangeTrackingStrategy.cs
- Matrix3DStack.cs
- CustomCredentialPolicy.cs
- ComponentResourceManager.cs
- ApplicationServicesHostFactory.cs
- StylusButtonEventArgs.cs
- TypeSystem.cs
- ToolStripHighContrastRenderer.cs
- StructuredTypeEmitter.cs
- DataColumnSelectionConverter.cs
- SubpageParaClient.cs
- ClientProxyGenerator.cs
- DocumentGridPage.cs
- MgmtResManager.cs
- SchemaElementLookUpTableEnumerator.cs
- DataSvcMapFile.cs
- ReflectEventDescriptor.cs
- FocusWithinProperty.cs
- LinqDataSourceView.cs
- Calendar.cs
- CompilationSection.cs
- TakeOrSkipQueryOperator.cs
- WpfWebRequestHelper.cs
- ArrayConverter.cs
- PropertyGeneratedEventArgs.cs
- SafeThreadHandle.cs
- XhtmlBasicSelectionListAdapter.cs
- BaseDataBoundControl.cs
- AliasedSlot.cs
- DataServiceConfiguration.cs
- TemplateNameScope.cs
- ToolStripPanelCell.cs
- CorrelationToken.cs
- CubicEase.cs
- DurableErrorHandler.cs