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
- SoapEnumAttribute.cs
- SafeCryptHandles.cs
- Base64WriteStateInfo.cs
- FormatterServices.cs
- Action.cs
- MailBnfHelper.cs
- AuthenticationModulesSection.cs
- BitmapImage.cs
- GcSettings.cs
- Stackframe.cs
- ContentType.cs
- WebPartManager.cs
- SimplePropertyEntry.cs
- RoleService.cs
- ErrorRuntimeConfig.cs
- VirtualPath.cs
- CompoundFileReference.cs
- PeerInvitationResponse.cs
- WebUtil.cs
- ReceiveMessageContent.cs
- MachineKeyConverter.cs
- SessionViewState.cs
- UInt16Converter.cs
- ActivityExecutor.cs
- MobileUserControlDesigner.cs
- DetailsViewModeEventArgs.cs
- Hex.cs
- FontSourceCollection.cs
- OptionalRstParameters.cs
- SecurityContext.cs
- mediapermission.cs
- XmlTextReaderImplHelpers.cs
- SchemaDeclBase.cs
- DockingAttribute.cs
- LinqDataSourceView.cs
- XmlDataSourceView.cs
- DropTarget.cs
- HttpEncoderUtility.cs
- SQLMembershipProvider.cs
- ComponentRenameEvent.cs
- ListCardsInFileRequest.cs
- Matrix.cs
- SplineKeyFrames.cs
- Paragraph.cs
- BaseTypeViewSchema.cs
- ProfileInfo.cs
- PageTrueTypeFont.cs
- DbSetClause.cs
- SecurityRuntime.cs
- AnimationClock.cs
- AssemblyCache.cs
- ToolStripSeparator.cs
- FastPropertyAccessor.cs
- WindowShowOrOpenTracker.cs
- TickBar.cs
- ConvertersCollection.cs
- XmlBoundElement.cs
- UIPermission.cs
- DesignerSerializerAttribute.cs
- EtwTrace.cs
- Helpers.cs
- MappingSource.cs
- StylusDownEventArgs.cs
- AttributedMetaModel.cs
- DictionarySectionHandler.cs
- ProtocolsConfigurationHandler.cs
- HostElement.cs
- NetMsmqBindingElement.cs
- FileEnumerator.cs
- RichTextBoxContextMenu.cs
- ExtendedPropertiesHandler.cs
- DataGridViewCellStyleChangedEventArgs.cs
- WindowInteractionStateTracker.cs
- HtmlAnchor.cs
- DesignerPainter.cs
- HttpApplication.cs
- CompilerTypeWithParams.cs
- WindowsHyperlink.cs
- Membership.cs
- SoapHeaderAttribute.cs
- TextChange.cs
- ToolStripItemTextRenderEventArgs.cs
- OciLobLocator.cs
- BitmapImage.cs
- ToolStrip.cs
- ToolStripDropDownClosingEventArgs.cs
- shaperfactoryquerycacheentry.cs
- TypeElement.cs
- PropertySet.cs
- nulltextnavigator.cs
- XamlReader.cs
- BitmapPalettes.cs
- CriticalFinalizerObject.cs
- _LazyAsyncResult.cs
- DynamicRendererThreadManager.cs
- printdlgexmarshaler.cs
- IPPacketInformation.cs
- HashHelper.cs
- LZCodec.cs
- DeadCharTextComposition.cs