Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / Configuration / OutputCacheSettingsSection.cs / 2 / 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;
/*
*/
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
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.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RtfControlWordInfo.cs
- httpapplicationstate.cs
- GroupQuery.cs
- ConfigurationStrings.cs
- KeyValuePair.cs
- EncryptedPackageFilter.cs
- SchemaObjectWriter.cs
- ResourceAttributes.cs
- DbProviderSpecificTypePropertyAttribute.cs
- TabItemWrapperAutomationPeer.cs
- FramingEncoders.cs
- Decimal.cs
- DirectionalLight.cs
- TdsParserSessionPool.cs
- ChangeBlockUndoRecord.cs
- ObjectCloneHelper.cs
- StreamResourceInfo.cs
- AssociationSetMetadata.cs
- Psha1DerivedKeyGenerator.cs
- Error.cs
- XmlSchemaFacet.cs
- QueryOutputWriter.cs
- WebEventTraceProvider.cs
- DbCommandDefinition.cs
- SqlCaseSimplifier.cs
- XamlInterfaces.cs
- DataBindingList.cs
- DetailsViewDesigner.cs
- FileEnumerator.cs
- ViewRendering.cs
- RichTextBoxConstants.cs
- DataStorage.cs
- ItemChangedEventArgs.cs
- AppSettingsReader.cs
- ColorDialog.cs
- EventLogHandle.cs
- WorkflowTransactionService.cs
- BitmapVisualManager.cs
- AutomationProperties.cs
- CheckPair.cs
- DockAndAnchorLayout.cs
- DataGridViewCellConverter.cs
- SafeProcessHandle.cs
- WizardPanelChangingEventArgs.cs
- MetadataItemSerializer.cs
- CodeTryCatchFinallyStatement.cs
- FramingEncoders.cs
- XmlChoiceIdentifierAttribute.cs
- SmiConnection.cs
- DataGridViewColumnConverter.cs
- MetadataException.cs
- ButtonStandardAdapter.cs
- IndentedTextWriter.cs
- ContractComponent.cs
- RootBrowserWindowProxy.cs
- AffineTransform3D.cs
- OptimizedTemplateContentHelper.cs
- PixelFormatConverter.cs
- Geometry.cs
- ObjectNotFoundException.cs
- EntityTransaction.cs
- GestureRecognizer.cs
- _Semaphore.cs
- ConfigXmlComment.cs
- CellQuery.cs
- KnownIds.cs
- Constraint.cs
- SendingRequestEventArgs.cs
- RuntimeIdentifierPropertyAttribute.cs
- InputProcessorProfilesLoader.cs
- DataServices.cs
- MtomMessageEncodingElement.cs
- Italic.cs
- GeneralTransform3D.cs
- RoleBoolean.cs
- _KerberosClient.cs
- ObjectCloneHelper.cs
- DoubleAnimationUsingPath.cs
- TraceListener.cs
- HTTPNotFoundHandler.cs
- PersistenceMetadataNamespace.cs
- SystemSounds.cs
- CallSiteBinder.cs
- StateMachineExecutionState.cs
- LayoutManager.cs
- ArglessEventHandlerProxy.cs
- MergeFilterQuery.cs
- Int32KeyFrameCollection.cs
- FieldNameLookup.cs
- BinaryParser.cs
- CreateUserWizardStep.cs
- CodeTypeOfExpression.cs
- CommandExpr.cs
- DefaultMemberAttribute.cs
- ExceptionHandlerDesigner.cs
- ActivationWorker.cs
- GroupQuery.cs
- CompilerInfo.cs
- DataColumnCollection.cs
- ManipulationDevice.cs