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
- FormatControl.cs
- EditorZone.cs
- JournalEntryListConverter.cs
- StdValidatorsAndConverters.cs
- OleDbCommandBuilder.cs
- BufferModesCollection.cs
- SystemException.cs
- StringOutput.cs
- RadioButtonFlatAdapter.cs
- ListBindingConverter.cs
- SafeNativeMethodsCLR.cs
- StaticSiteMapProvider.cs
- EpmCustomContentSerializer.cs
- ModuleElement.cs
- ClientData.cs
- AttributeCollection.cs
- XhtmlCssHandler.cs
- StringUtil.cs
- GridViewUpdatedEventArgs.cs
- PenContexts.cs
- ProcessModelInfo.cs
- DefaultHttpHandler.cs
- MetadataArtifactLoaderCompositeFile.cs
- BroadcastEventHelper.cs
- WorkflowIdleBehavior.cs
- PropertyInformation.cs
- EntityDataSourceWrapper.cs
- Stackframe.cs
- PartitionedDataSource.cs
- TraceContextRecord.cs
- FillRuleValidation.cs
- PreservationFileReader.cs
- ISAPIApplicationHost.cs
- BinaryUtilClasses.cs
- CryptoKeySecurity.cs
- NonParentingControl.cs
- EncoderBestFitFallback.cs
- AlphabeticalEnumConverter.cs
- ReadOnlyCollection.cs
- LineInfo.cs
- PageThemeParser.cs
- dbenumerator.cs
- Match.cs
- Mappings.cs
- ChtmlMobileTextWriter.cs
- DependencyObjectType.cs
- XmlSchemaAttributeGroup.cs
- IisTraceListener.cs
- Collection.cs
- TextRangeEditLists.cs
- Cursors.cs
- BrowserTree.cs
- ListView.cs
- MULTI_QI.cs
- InputProcessorProfilesLoader.cs
- XmlEnumAttribute.cs
- StructuralObject.cs
- TextTreeUndoUnit.cs
- SafeFileHandle.cs
- ForeignConstraint.cs
- DateTimeParse.cs
- InkCanvasAutomationPeer.cs
- MdImport.cs
- querybuilder.cs
- SafeFileMappingHandle.cs
- RevocationPoint.cs
- EntityKey.cs
- GroupDescription.cs
- ServiceTimeoutsBehavior.cs
- HtmlImage.cs
- Win32Exception.cs
- QueryOutputWriter.cs
- SqlError.cs
- DataGridViewSortCompareEventArgs.cs
- TimeSpanOrInfiniteConverter.cs
- TextTreePropertyUndoUnit.cs
- PropertyEmitterBase.cs
- AccessText.cs
- LastQueryOperator.cs
- Menu.cs
- InvokeProviderWrapper.cs
- URIFormatException.cs
- GridViewRowPresenter.cs
- SchemaMapping.cs
- WebPartEventArgs.cs
- RepeatButton.cs
- cryptoapiTransform.cs
- DoubleLinkListEnumerator.cs
- AsyncOperation.cs
- SqlMethodAttribute.cs
- CodeLinePragma.cs
- XmlFormatMapping.cs
- ConsoleKeyInfo.cs
- HtmlTernaryTree.cs
- SweepDirectionValidation.cs
- brushes.cs
- SystemIcmpV4Statistics.cs
- PageCodeDomTreeGenerator.cs
- PageRanges.cs
- DbParameterCollectionHelper.cs