Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / Configuration / OutputCacheSettingsSection.cs / 5 / 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. // //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CacheMemory.cs
- AlgoModule.cs
- EdmMember.cs
- Range.cs
- GlyphRun.cs
- PageTheme.cs
- RC2CryptoServiceProvider.cs
- GregorianCalendarHelper.cs
- Table.cs
- IdentityValidationException.cs
- ValidatorCollection.cs
- ImmutableAssemblyCacheEntry.cs
- CompilerCollection.cs
- TreeChangeInfo.cs
- VSWCFServiceContractGenerator.cs
- ResourceBinder.cs
- ListenerServiceInstallComponent.cs
- SafeMILHandle.cs
- BitmapScalingModeValidation.cs
- ObfuscateAssemblyAttribute.cs
- SplitterCancelEvent.cs
- DataBindingExpressionBuilder.cs
- RenderCapability.cs
- MergeFilterQuery.cs
- TransferRequestHandler.cs
- DecimalKeyFrameCollection.cs
- BitConverter.cs
- mactripleDES.cs
- WebScriptMetadataMessageEncoderFactory.cs
- KeyGestureValueSerializer.cs
- FilteredDataSetHelper.cs
- MimeReturn.cs
- ReadWriteSpinLock.cs
- MachineKeyConverter.cs
- WebPartConnectionsConnectVerb.cs
- Decimal.cs
- Single.cs
- DataGridViewRowsAddedEventArgs.cs
- SystemTcpStatistics.cs
- ContainerControlDesigner.cs
- MonitoringDescriptionAttribute.cs
- DocobjHost.cs
- IntSecurity.cs
- Descriptor.cs
- ETagAttribute.cs
- ObjectHelper.cs
- Stream.cs
- WasNotInstalledException.cs
- DetailsViewPagerRow.cs
- ImageInfo.cs
- HwndHostAutomationPeer.cs
- GraphicsContext.cs
- EntityCommandCompilationException.cs
- StatusBar.cs
- StylusDevice.cs
- ReadWriteSpinLock.cs
- WebContext.cs
- IteratorDescriptor.cs
- RemotingConfiguration.cs
- MetafileHeader.cs
- IODescriptionAttribute.cs
- WebBrowserProgressChangedEventHandler.cs
- LogSwitch.cs
- ItemContainerPattern.cs
- XmlILIndex.cs
- _TimerThread.cs
- XmlKeywords.cs
- Debug.cs
- MaterialGroup.cs
- SmtpNetworkElement.cs
- SourceFilter.cs
- DbRetry.cs
- ObjectDataSourceDisposingEventArgs.cs
- ImageKeyConverter.cs
- SchemaCollectionCompiler.cs
- SmiEventSink_DeferedProcessing.cs
- Point3DCollectionConverter.cs
- TargetInvocationException.cs
- DataGridViewRow.cs
- TrackingConditionCollection.cs
- ContainerControl.cs
- DynamicDocumentPaginator.cs
- securestring.cs
- WindowsContainer.cs
- PipelineModuleStepContainer.cs
- DomainUpDown.cs
- BroadcastEventHelper.cs
- BitmapEffectInputConnector.cs
- Int64Storage.cs
- WebPartTransformer.cs
- CryptographicAttribute.cs
- MultiTrigger.cs
- ExpressionBuilderCollection.cs
- SafeArrayRankMismatchException.cs
- DataGridColumnHeadersPresenter.cs
- ManagementQuery.cs
- ValidatingPropertiesEventArgs.cs
- WebPartDescription.cs
- XamlToRtfParser.cs
- EventManager.cs