Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / SessionPageStateSection.cs / 1305376 / SessionPageStateSection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System; using System.Xml; using System.Configuration; using System.Collections.Specialized; using System.Collections; using System.Globalization; using System.IO; using System.Text; using System.ComponentModel; using System.Web.Util; using System.Diagnostics; using System.Security.Permissions; public sealed class SessionPageStateSection : ConfigurationSection { private static ConfigurationPropertyCollection _properties; public const int DefaultHistorySize = 9; // #region Property Declarations private static readonly ConfigurationProperty _propHistorySize = new ConfigurationProperty("historySize", typeof(int), DefaultHistorySize, null, StdValidatorsAndConverters.NonZeroPositiveIntegerValidator, ConfigurationPropertyOptions.None); #endregion static SessionPageStateSection() { // Property initialization _properties = new ConfigurationPropertyCollection(); _properties.Add(_propHistorySize); } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } [ConfigurationProperty("historySize", DefaultValue = DefaultHistorySize)] [IntegerValidator(MinValue = 1)] public int HistorySize { get { return (int)base[_propHistorySize]; } set { base[_propHistorySize] = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- JsonReaderWriterFactory.cs
- FrameworkElement.cs
- StylusButton.cs
- PagerSettings.cs
- HTTPNotFoundHandler.cs
- QueueSurrogate.cs
- ThemeInfoAttribute.cs
- SqlCacheDependencyDatabaseCollection.cs
- SortableBindingList.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- BufferedWebEventProvider.cs
- SecureEnvironment.cs
- TextDecoration.cs
- DesignerActionVerbList.cs
- NameValueSectionHandler.cs
- RectAnimationBase.cs
- _KerberosClient.cs
- TraceUtility.cs
- PinnedBufferMemoryStream.cs
- LastQueryOperator.cs
- JsonClassDataContract.cs
- BooleanExpr.cs
- Maps.cs
- UpdateTracker.cs
- HiddenField.cs
- WebPartCancelEventArgs.cs
- SerializationObjectManager.cs
- ActivityStatusChangeEventArgs.cs
- TickBar.cs
- SoapUnknownHeader.cs
- PipelineComponent.cs
- IncrementalReadDecoders.cs
- documentsequencetextpointer.cs
- ControlIdConverter.cs
- BamlRecordWriter.cs
- SimplePropertyEntry.cs
- DrawListViewItemEventArgs.cs
- ItemType.cs
- DrawListViewItemEventArgs.cs
- FullTextState.cs
- CodeDomDesignerLoader.cs
- HttpResponseMessageProperty.cs
- ImageProxy.cs
- MsmqOutputSessionChannel.cs
- XsdDataContractExporter.cs
- OdbcConnectionOpen.cs
- RawStylusInput.cs
- MeshGeometry3D.cs
- HtmlTableCell.cs
- MD5Cng.cs
- ContentElementAutomationPeer.cs
- EventsTab.cs
- SafeFileHandle.cs
- MachineKeySection.cs
- TimeSpanSecondsConverter.cs
- WindowsServiceElement.cs
- MenuItemCollection.cs
- ScriptingSectionGroup.cs
- MessageDispatch.cs
- SiteMapNodeItemEventArgs.cs
- OutOfProcStateClientManager.cs
- CacheDependency.cs
- Trace.cs
- FlowchartStart.xaml.cs
- Assert.cs
- BinaryObjectWriter.cs
- ConsumerConnectionPoint.cs
- DBAsyncResult.cs
- TypeReference.cs
- PrintPreviewControl.cs
- PenContext.cs
- MeasurementDCInfo.cs
- NGCSerializationManager.cs
- InternalUserCancelledException.cs
- HuffmanTree.cs
- serverconfig.cs
- BaseParagraph.cs
- InkCanvasSelection.cs
- EntityContainerAssociationSet.cs
- EventWaitHandleSecurity.cs
- DataControlCommands.cs
- PasswordPropertyTextAttribute.cs
- FormsAuthenticationCredentials.cs
- JsonReaderDelegator.cs
- SessionStateContainer.cs
- VisualTreeUtils.cs
- OpenTypeLayoutCache.cs
- EntityRecordInfo.cs
- CodeExpressionCollection.cs
- ContainerVisual.cs
- COM2PropertyBuilderUITypeEditor.cs
- TextEffect.cs
- Int64AnimationBase.cs
- MouseBinding.cs
- BitmapPalette.cs
- EditorPartChrome.cs
- HandleExceptionArgs.cs
- ProjectionAnalyzer.cs
- TdsParameterSetter.cs
- EncryptedData.cs