Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / 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. //------------------------------------------------------------------------------ // // 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
- RectIndependentAnimationStorage.cs
- ExpressionPrinter.cs
- KeyConverter.cs
- KeyInterop.cs
- AppDomainAttributes.cs
- SchemaManager.cs
- HtmlControl.cs
- CustomAttributeFormatException.cs
- SharedPerformanceCounter.cs
- _ListenerAsyncResult.cs
- CollectionViewGroupRoot.cs
- OutputCacheProfile.cs
- SystemColors.cs
- CodeCastExpression.cs
- WindowsFormsHostAutomationPeer.cs
- RegisteredHiddenField.cs
- Reference.cs
- TraceHwndHost.cs
- MemberHolder.cs
- TypeLibConverter.cs
- RelationshipSet.cs
- ProtocolsConfigurationEntry.cs
- AuthorizationRuleCollection.cs
- Drawing.cs
- XmlDocumentType.cs
- ObjectItemNoOpAssemblyLoader.cs
- ResourceExpressionEditorSheet.cs
- AssemblyNameProxy.cs
- HelpFileFileNameEditor.cs
- Solver.cs
- SqlLiftWhereClauses.cs
- DataGridViewRowCollection.cs
- TextEditorSpelling.cs
- securitycriticaldataformultiplegetandset.cs
- RegexCapture.cs
- Line.cs
- ByteKeyFrameCollection.cs
- ComponentEditorForm.cs
- MsmqHostedTransportConfiguration.cs
- Button.cs
- TrackingRecord.cs
- PropertyGridEditorPart.cs
- OracleParameterBinding.cs
- nulltextnavigator.cs
- StructuralType.cs
- ControlCollection.cs
- SafeFileHandle.cs
- COM2ColorConverter.cs
- Size3DConverter.cs
- ProfileManager.cs
- Point4D.cs
- SqlDataSourceSummaryPanel.cs
- WhereaboutsReader.cs
- DaylightTime.cs
- TextServicesContext.cs
- UnsafeNativeMethods.cs
- DataGridViewToolTip.cs
- DesignerSelectionListAdapter.cs
- Avt.cs
- DbBuffer.cs
- DefaultAssemblyResolver.cs
- TagPrefixInfo.cs
- DataTable.cs
- XPathNodePointer.cs
- BitmapEffectInputData.cs
- LongTypeConverter.cs
- Error.cs
- RepeaterItemCollection.cs
- DataTableReaderListener.cs
- ServerReliableChannelBinder.cs
- tabpagecollectioneditor.cs
- VersionPair.cs
- DoubleLinkList.cs
- PolyLineSegmentFigureLogic.cs
- ProxyWebPartConnectionCollection.cs
- UnsafeNativeMethodsPenimc.cs
- Domain.cs
- DeclarationUpdate.cs
- BamlStream.cs
- EventlogProvider.cs
- DateTimeConverter.cs
- PointAnimationBase.cs
- TextDecorations.cs
- DataGridViewButtonColumn.cs
- LinqDataSourceStatusEventArgs.cs
- AnimationLayer.cs
- Privilege.cs
- FrameworkEventSource.cs
- MarshalDirectiveException.cs
- BaseComponentEditor.cs
- IPPacketInformation.cs
- StringFreezingAttribute.cs
- _NtlmClient.cs
- SqlCommandSet.cs
- COMException.cs
- future.cs
- SoapFault.cs
- PenLineCapValidation.cs
- SqlDependencyUtils.cs
- AutoGeneratedField.cs