Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / Configuration / OutputCacheSettingsSection.cs / 1 / 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
- XmlHierarchyData.cs
- SqlBulkCopyColumnMapping.cs
- IPGlobalProperties.cs
- TrustExchangeException.cs
- IndexedEnumerable.cs
- RestClientProxyHandler.cs
- StickyNoteContentControl.cs
- MessageSecurityOverHttp.cs
- NullRuntimeConfig.cs
- CqlLexerHelpers.cs
- IteratorDescriptor.cs
- metadatamappinghashervisitor.cs
- GenericEnumConverter.cs
- SelectionItemProviderWrapper.cs
- ServiceModelActivity.cs
- xmlfixedPageInfo.cs
- EntityTypeEmitter.cs
- ScriptResourceHandler.cs
- CapabilitiesRule.cs
- SqlErrorCollection.cs
- PersonalizationProviderCollection.cs
- DataRecordInfo.cs
- _LocalDataStore.cs
- XmlNodeChangedEventArgs.cs
- HttpServerVarsCollection.cs
- _ScatterGatherBuffers.cs
- DeferredBinaryDeserializerExtension.cs
- DataSourceHelper.cs
- odbcmetadatafactory.cs
- StrongNameKeyPair.cs
- DbProviderFactories.cs
- EncoderReplacementFallback.cs
- ellipse.cs
- RandomNumberGenerator.cs
- QueryStringConverter.cs
- SizeFConverter.cs
- WinInetCache.cs
- ObjectCloneHelper.cs
- InvalidWMPVersionException.cs
- UpdateCompiler.cs
- AuthenticationService.cs
- ByteKeyFrameCollection.cs
- RadioButton.cs
- SBCSCodePageEncoding.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- CodeFieldReferenceExpression.cs
- ObjectViewFactory.cs
- ResourceManagerWrapper.cs
- DocumentViewerAutomationPeer.cs
- DeviceContexts.cs
- PropertyIDSet.cs
- ContainerActivationHelper.cs
- DeleteMemberBinder.cs
- WebControlsSection.cs
- LinqToSqlWrapper.cs
- SynchronizationLockException.cs
- SafeRightsManagementPubHandle.cs
- ClientRuntimeConfig.cs
- ClientBuildManager.cs
- AtlasWeb.Designer.cs
- SessionStateModule.cs
- LassoHelper.cs
- SoapMessage.cs
- Sentence.cs
- ClickablePoint.cs
- CommentAction.cs
- LocationUpdates.cs
- OdbcFactory.cs
- DisableDpiAwarenessAttribute.cs
- ListViewDeleteEventArgs.cs
- ThreadStartException.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- XmlILAnnotation.cs
- Ray3DHitTestResult.cs
- CodeTypeDelegate.cs
- CodeDomConfigurationHandler.cs
- SqlFunctionAttribute.cs
- DataControlImageButton.cs
- IFlowDocumentViewer.cs
- _HelperAsyncResults.cs
- WebConfigurationHostFileChange.cs
- ListMarkerSourceInfo.cs
- PassportAuthenticationModule.cs
- RegexInterpreter.cs
- PermissionSet.cs
- FixedNode.cs
- GiveFeedbackEventArgs.cs
- SerializationInfo.cs
- HtmlElementCollection.cs
- VoiceChangeEventArgs.cs
- CacheMode.cs
- PersianCalendar.cs
- CounterSample.cs
- MexHttpBindingCollectionElement.cs
- MultiPageTextView.cs
- UnsafeNativeMethods.cs
- ActivitySurrogate.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- NumberFormatInfo.cs
- DataControlLinkButton.cs