Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / OutputCacheSettingsSection.cs / 1305376 / OutputCacheSettingsSection.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.Web.UI; using System.ComponentModel; using System.Security.Permissions; /**/ public sealed class OutputCacheSettingsSection : ConfigurationSection { private static ConfigurationPropertyCollection _properties; private static readonly ConfigurationProperty _propOutputCacheProfiles; #if NOT_UNTIL_LATER private static readonly ConfigurationProperty _propFragmentCacheProfiles; #endif static OutputCacheSettingsSection() { // Property initialization _properties = new ConfigurationPropertyCollection(); _propOutputCacheProfiles = new ConfigurationProperty("outputCacheProfiles", typeof(OutputCacheProfileCollection), null, ConfigurationPropertyOptions.None); _properties.Add(_propOutputCacheProfiles); #if NOT_UNTIL_LATER _propFragmentCacheProfiles = new ConfigurationProperty("fragmentCacheProfiles", typeof(FragmentCacheProfileCollection), new FragmentCacheProfileCollection(), ConfigurationPropertyOptions.None); _properties.Add(_propFragmentCacheProfiles); #endif } public OutputCacheSettingsSection() { } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } [ConfigurationProperty("outputCacheProfiles")] public OutputCacheProfileCollection OutputCacheProfiles { get { return (OutputCacheProfileCollection)base[_propOutputCacheProfiles]; } } #if NOT_UNTIL_LATER [ConfigurationProperty("FragmentCacheProfiles")] public FragmentCacheProfileCollection FragmentCacheProfiles { get { return (FragmentCacheProfileCollection) base[_propFragmentCacheProfiles]; } } #endif } } // 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
- ProgressChangedEventArgs.cs
- FragmentNavigationEventArgs.cs
- regiisutil.cs
- PointCollectionConverter.cs
- securestring.cs
- RenamedEventArgs.cs
- NoClickablePointException.cs
- WebException.cs
- BindingCompleteEventArgs.cs
- TagPrefixAttribute.cs
- CellCreator.cs
- OutputScopeManager.cs
- XmlSchemaParticle.cs
- XmlTextEncoder.cs
- BindingGroup.cs
- XPathParser.cs
- GridItem.cs
- MsmqHostedTransportConfiguration.cs
- BindMarkupExtensionSerializer.cs
- NonParentingControl.cs
- TypeConstant.cs
- PropertyInformation.cs
- DataGridViewCellMouseEventArgs.cs
- SQlBooleanStorage.cs
- WmlLabelAdapter.cs
- sqlnorm.cs
- EntityParameter.cs
- ConfigurationManagerInternal.cs
- SelectionGlyph.cs
- DataGridViewUtilities.cs
- SizeFConverter.cs
- SmiContext.cs
- InProcStateClientManager.cs
- SineEase.cs
- XmlSubtreeReader.cs
- SourceFileBuildProvider.cs
- CharUnicodeInfo.cs
- ProfilePropertyNameValidator.cs
- ToolStripCodeDomSerializer.cs
- Variant.cs
- RectValueSerializer.cs
- ObservableDictionary.cs
- MissingSatelliteAssemblyException.cs
- SplitterCancelEvent.cs
- RouteItem.cs
- CriticalExceptions.cs
- Inline.cs
- WebPartConnectionsConfigureVerb.cs
- ByteStreamGeometryContext.cs
- COM2ColorConverter.cs
- XamlPathDataSerializer.cs
- XLinq.cs
- _ChunkParse.cs
- Peer.cs
- DoubleAnimationUsingPath.cs
- CombinedHttpChannel.cs
- KnownIds.cs
- SettingsPropertyWrongTypeException.cs
- StopStoryboard.cs
- Permission.cs
- ListViewItemCollectionEditor.cs
- UnicodeEncoding.cs
- DescendantOverDescendantQuery.cs
- DataGridToolTip.cs
- ScalarType.cs
- DataGridViewRowCollection.cs
- SqlMethodAttribute.cs
- Label.cs
- AssemblyAttributes.cs
- MgmtConfigurationRecord.cs
- TypeResolver.cs
- PageParser.cs
- IPGlobalProperties.cs
- DownloadProgressEventArgs.cs
- XmlTextEncoder.cs
- BaseCodeDomTreeGenerator.cs
- Renderer.cs
- TraceHandlerErrorFormatter.cs
- ProcessDesigner.cs
- Image.cs
- BookmarkUndoUnit.cs
- UnionCqlBlock.cs
- ProcessInputEventArgs.cs
- NumericUpDownAcceleration.cs
- UserControlBuildProvider.cs
- Application.cs
- DesignSurfaceCollection.cs
- DecimalAverageAggregationOperator.cs
- EntityViewGenerationConstants.cs
- LockRecursionException.cs
- Contracts.cs
- Semaphore.cs
- TargetControlTypeCache.cs
- EventRecord.cs
- SessionStateModule.cs
- ClassDataContract.cs
- DataBoundLiteralControl.cs
- DiagnosticsElement.cs
- ToolStripGripRenderEventArgs.cs
- NullReferenceException.cs