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
- TextContainerChangedEventArgs.cs
- FrameworkElement.cs
- ProcessInputEventArgs.cs
- DbProviderServices.cs
- PrivilegeNotHeldException.cs
- FilterQuery.cs
- MouseButtonEventArgs.cs
- MarkupExtensionReturnTypeAttribute.cs
- DesignerSerializerAttribute.cs
- ExcCanonicalXml.cs
- ViewGenResults.cs
- CollectionConverter.cs
- ExceptionRoutedEventArgs.cs
- HtmlEmptyTagControlBuilder.cs
- HyperLink.cs
- DSASignatureFormatter.cs
- HandlerBase.cs
- BinaryConverter.cs
- TripleDES.cs
- RegexRunner.cs
- PolicyManager.cs
- ObjectDataSourceMethodEventArgs.cs
- JoinCqlBlock.cs
- X509Utils.cs
- PkcsUtils.cs
- ImportedPolicyConversionContext.cs
- XmlSerializableWriter.cs
- PassportIdentity.cs
- PtsCache.cs
- GeneralTransform2DTo3DTo2D.cs
- DropShadowBitmapEffect.cs
- EDesignUtil.cs
- HttpHostedTransportConfiguration.cs
- QuadraticBezierSegment.cs
- MouseEventArgs.cs
- BitmapEffectDrawingContextState.cs
- CompilerScopeManager.cs
- FocusTracker.cs
- CommandField.cs
- NegatedConstant.cs
- ExceptionUtil.cs
- WebPartConnectionsEventArgs.cs
- TabControlAutomationPeer.cs
- TextSpanModifier.cs
- SapiRecoContext.cs
- LinearKeyFrames.cs
- ReversePositionQuery.cs
- XmlAnyElementAttribute.cs
- ConstraintConverter.cs
- XmlSchemaCollection.cs
- SystemIPAddressInformation.cs
- PerfCounters.cs
- RegionInfo.cs
- FunctionMappingTranslator.cs
- SecurityTokenSerializer.cs
- InfoCardCryptoHelper.cs
- TransformPatternIdentifiers.cs
- InvokeWebService.cs
- HostUtils.cs
- Condition.cs
- EnumValidator.cs
- Events.cs
- ValidateNames.cs
- Double.cs
- sqlmetadatafactory.cs
- PagerSettings.cs
- Geometry.cs
- ConfigurationCollectionAttribute.cs
- CurrentChangingEventManager.cs
- ContractValidationHelper.cs
- GridViewDeleteEventArgs.cs
- DrawListViewSubItemEventArgs.cs
- SystemEvents.cs
- SafePointer.cs
- FilterException.cs
- ByteStreamGeometryContext.cs
- GZipDecoder.cs
- QuadraticBezierSegment.cs
- TextAdaptor.cs
- AssemblyBuilder.cs
- PackageProperties.cs
- ISCIIEncoding.cs
- DeviceSpecificDialogCachedState.cs
- CreateUserWizardDesigner.cs
- List.cs
- XamlWrapperReaders.cs
- ClientData.cs
- PerspectiveCamera.cs
- ArcSegment.cs
- FileDialogCustomPlace.cs
- bindurihelper.cs
- ItemList.cs
- DataGridViewCellMouseEventArgs.cs
- CodeTypeDelegate.cs
- SchemaLookupTable.cs
- GeneratedView.cs
- QilParameter.cs
- SystemColorTracker.cs
- BitmapEffectInputData.cs
- KoreanCalendar.cs