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
- sqlstateclientmanager.cs
- RelativeSource.cs
- ScriptManager.cs
- CurrencyManager.cs
- GridViewColumnHeader.cs
- DataSetMappper.cs
- SiblingIterators.cs
- ByteStream.cs
- ToolZone.cs
- TextTreeInsertUndoUnit.cs
- ProcessInputEventArgs.cs
- HandlerFactoryWrapper.cs
- TrackingProfile.cs
- ScrollPattern.cs
- ExpressionVisitorHelpers.cs
- Region.cs
- UpdatePanelTriggerCollection.cs
- CreationContext.cs
- TypeConverterHelper.cs
- ReferenceEqualityComparer.cs
- MasterPage.cs
- PeerReferralPolicy.cs
- PlatformNotSupportedException.cs
- MetadataCache.cs
- LinearGradientBrush.cs
- ResourceSet.cs
- LifetimeServices.cs
- ObjectNavigationPropertyMapping.cs
- PropertyToken.cs
- SoapCommonClasses.cs
- PreviewKeyDownEventArgs.cs
- SerializeAbsoluteContext.cs
- RequestSecurityTokenSerializer.cs
- AutomationElement.cs
- SwitchAttribute.cs
- Visual3DCollection.cs
- HttpCachePolicy.cs
- Bitmap.cs
- TraceContext.cs
- GeometryCombineModeValidation.cs
- TreeNode.cs
- MimeWriter.cs
- WebBrowsableAttribute.cs
- WorkflowServiceAttributesTypeConverter.cs
- ProtocolsConfiguration.cs
- ping.cs
- MappingException.cs
- State.cs
- MetadataHelper.cs
- NotifyInputEventArgs.cs
- RoutedEventValueSerializer.cs
- SvcMapFile.cs
- SoapReflectionImporter.cs
- CodeDomSerializerBase.cs
- SoapFault.cs
- WizardStepBase.cs
- FileAuthorizationModule.cs
- StorageComplexTypeMapping.cs
- ScriptReferenceEventArgs.cs
- Int32CollectionValueSerializer.cs
- ThreadAttributes.cs
- TrackBarRenderer.cs
- TextServicesCompartmentEventSink.cs
- MessageBox.cs
- WebPageTraceListener.cs
- ObfuscateAssemblyAttribute.cs
- FilterFactory.cs
- DataGridLength.cs
- SoapIncludeAttribute.cs
- manifestimages.cs
- DbConnectionPoolIdentity.cs
- PaperSize.cs
- ProcessHost.cs
- QueryStringConverter.cs
- ApplicationHost.cs
- LogReservationCollection.cs
- LocatorPartList.cs
- Encoding.cs
- NavigationService.cs
- SqlParameterizer.cs
- AppliedDeviceFiltersEditor.cs
- TypeUnloadedException.cs
- ToolStripDropDownItem.cs
- PropertyFilter.cs
- MsmqIntegrationElement.cs
- ResourcePool.cs
- ActivityExecutionContext.cs
- DataGridColumn.cs
- ChildrenQuery.cs
- ControlAdapter.cs
- LinkLabelLinkClickedEvent.cs
- BitmapEffectCollection.cs
- RepeaterCommandEventArgs.cs
- CngKeyBlobFormat.cs
- PropertyDescriptorGridEntry.cs
- returneventsaver.cs
- SoapSchemaMember.cs
- Journaling.cs
- SystemThemeKey.cs
- DynamicValidator.cs