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
- ISAPIApplicationHost.cs
- DriveInfo.cs
- TemplateInstanceAttribute.cs
- CodeComment.cs
- XappLauncher.cs
- TextParagraphCache.cs
- ColorAnimationBase.cs
- BamlBinaryWriter.cs
- PreservationFileWriter.cs
- IndentedWriter.cs
- CompositeClientFormatter.cs
- InputMethod.cs
- PerformanceCounterLib.cs
- FormViewRow.cs
- HttpChannelBindingToken.cs
- AggregateNode.cs
- XPathAncestorQuery.cs
- SqlCommandSet.cs
- InputDevice.cs
- BlobPersonalizationState.cs
- ParallelQuery.cs
- NotifyCollectionChangedEventArgs.cs
- MenuItem.cs
- ToolStripSplitStackLayout.cs
- CodeIdentifier.cs
- ByteFacetDescriptionElement.cs
- DictionaryItemsCollection.cs
- PtsHost.cs
- TimeoutException.cs
- BaseInfoTable.cs
- InputScope.cs
- DataGridViewCellPaintingEventArgs.cs
- Parallel.cs
- _SslState.cs
- PrinterUnitConvert.cs
- KnownBoxes.cs
- RegistrationProxy.cs
- WindowsListView.cs
- SelectionItemPattern.cs
- InternalCache.cs
- CommandConverter.cs
- FileClassifier.cs
- SqlDataSourceCommandEventArgs.cs
- ButtonChrome.cs
- ReaderWriterLockSlim.cs
- FunctionDescription.cs
- WmiPutTraceRecord.cs
- EditorBrowsableAttribute.cs
- Matrix3DValueSerializer.cs
- ResourceDisplayNameAttribute.cs
- AutomationPatternInfo.cs
- Misc.cs
- QueryInterceptorAttribute.cs
- Parser.cs
- FigureHelper.cs
- RectConverter.cs
- DecimalFormatter.cs
- GC.cs
- PartitionerQueryOperator.cs
- DataGridViewSelectedColumnCollection.cs
- EFDataModelProvider.cs
- TypeSource.cs
- QilLiteral.cs
- DelegateSerializationHolder.cs
- PeerInvitationResponse.cs
- TimeSpan.cs
- ListViewItem.cs
- ExitEventArgs.cs
- TryCatch.cs
- Converter.cs
- WorkflowRuntimeServiceElementCollection.cs
- ActivityDesignerAccessibleObject.cs
- DesignerTransaction.cs
- ValidationSummaryDesigner.cs
- RemoteWebConfigurationHostStream.cs
- DataGridViewDataConnection.cs
- SchemaElementLookUpTable.cs
- ResourcePart.cs
- SqlBulkCopyColumnMappingCollection.cs
- MediaCommands.cs
- DocumentXPathNavigator.cs
- RuntimeConfig.cs
- HttpHandlerActionCollection.cs
- ContentFilePart.cs
- EventMappingSettings.cs
- Exception.cs
- AnnotationService.cs
- PrinterResolution.cs
- DBParameter.cs
- FormatterServicesNoSerializableCheck.cs
- TransformerInfo.cs
- MenuBase.cs
- DtrList.cs
- PositiveTimeSpanValidatorAttribute.cs
- ListBoxItemAutomationPeer.cs
- SqlWebEventProvider.cs
- FixedDocumentPaginator.cs
- SHA1CryptoServiceProvider.cs
- TreeView.cs
- SHA256.cs