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
- PropertyMapper.cs
- ClientTargetCollection.cs
- wmiprovider.cs
- RawStylusInputReport.cs
- Documentation.cs
- TypeConverter.cs
- DefaultEventAttribute.cs
- TimerElapsedEvenArgs.cs
- safex509handles.cs
- ThreadExceptionEvent.cs
- CacheDict.cs
- Utils.cs
- ToolBarButtonClickEvent.cs
- InkCollectionBehavior.cs
- MenuItemBinding.cs
- KnownAssemblyEntry.cs
- KoreanCalendar.cs
- XmlSchemaElement.cs
- Int32Rect.cs
- DBPropSet.cs
- CompositeActivityDesigner.cs
- TaiwanLunisolarCalendar.cs
- NumberAction.cs
- DrawingGroup.cs
- GenericTypeParameterConverter.cs
- QEncodedStream.cs
- ColorPalette.cs
- HotSpotCollection.cs
- GridViewRowPresenterBase.cs
- VarRemapper.cs
- DesignTimeParseData.cs
- CommandDesigner.cs
- DynamicPropertyReader.cs
- GatewayIPAddressInformationCollection.cs
- InstanceNormalEvent.cs
- ServicePoint.cs
- DispatcherHooks.cs
- TypedTableHandler.cs
- DataKeyArray.cs
- AdRotator.cs
- UnsafeNativeMethods.cs
- Perspective.cs
- FileUtil.cs
- DirectionalLight.cs
- X509Utils.cs
- RequestQueryParser.cs
- AttachedAnnotation.cs
- TextServicesPropertyRanges.cs
- RegexMatch.cs
- PublisherIdentityPermission.cs
- DataControlField.cs
- XmlSequenceWriter.cs
- PropertyRef.cs
- DecoderBestFitFallback.cs
- ScrollItemProviderWrapper.cs
- FamilyMap.cs
- DataGridViewRowPrePaintEventArgs.cs
- TCPClient.cs
- NotifyCollectionChangedEventArgs.cs
- SoapMessage.cs
- Attributes.cs
- SqlProfileProvider.cs
- SecurityTokenSerializer.cs
- UdpDiscoveryEndpointProvider.cs
- SoapInteropTypes.cs
- HtmlDocument.cs
- RelAssertionDirectKeyIdentifierClause.cs
- SoapSchemaMember.cs
- PageWrapper.cs
- TimeSpanValidator.cs
- SpeechUI.cs
- ConnectionConsumerAttribute.cs
- FixedStringLookup.cs
- TempFiles.cs
- StrongName.cs
- TypeListConverter.cs
- SelectionChangedEventArgs.cs
- DbMetaDataFactory.cs
- ObjectListCommandsPage.cs
- SafeNativeMethods.cs
- TablePattern.cs
- WebPartActionVerb.cs
- HwndSourceParameters.cs
- ValueType.cs
- sqlstateclientmanager.cs
- SetterBaseCollection.cs
- TypeInformation.cs
- ToolStripControlHost.cs
- ISSmlParser.cs
- NotificationContext.cs
- initElementDictionary.cs
- Models.cs
- DeadCharTextComposition.cs
- RemotingAttributes.cs
- ProfilePropertyMetadata.cs
- UnmanagedMemoryStream.cs
- IFormattable.cs
- SpeechDetectedEventArgs.cs
- ProfileProvider.cs
- MetadataWorkspace.cs