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
- WorkflowRuntimeService.cs
- ConstructorBuilder.cs
- DataGridState.cs
- SafeEventLogWriteHandle.cs
- InheritanceContextHelper.cs
- CodeDOMUtility.cs
- SmiMetaData.cs
- TimelineGroup.cs
- QuadraticBezierSegment.cs
- StorageModelBuildProvider.cs
- XmlEncodedRawTextWriter.cs
- RowTypePropertyElement.cs
- InnerItemCollectionView.cs
- TimeStampChecker.cs
- FileDetails.cs
- ConnectionManagementSection.cs
- WebPartConnectionsEventArgs.cs
- CompilerInfo.cs
- FrameSecurityDescriptor.cs
- ViewStateException.cs
- XmlDocumentType.cs
- SiteMapNodeItemEventArgs.cs
- TextElement.cs
- CompiledRegexRunnerFactory.cs
- MonitorWrapper.cs
- GridViewCancelEditEventArgs.cs
- ResourceDescriptionAttribute.cs
- PropertyEntry.cs
- VBCodeProvider.cs
- ImageMetadata.cs
- DefaultEvaluationContext.cs
- DataRowComparer.cs
- FragmentNavigationEventArgs.cs
- WindowsPen.cs
- ConfigXmlAttribute.cs
- ContainerActivationHelper.cs
- Point3DCollection.cs
- RuleSetBrowserDialog.cs
- EqualityComparer.cs
- SqlRemoveConstantOrderBy.cs
- BooleanFunctions.cs
- _SingleItemRequestCache.cs
- BitmapCodecInfoInternal.cs
- QuaternionRotation3D.cs
- IteratorDescriptor.cs
- ConfigurationValidatorBase.cs
- TableLayoutCellPaintEventArgs.cs
- SqlRowUpdatingEvent.cs
- HijriCalendar.cs
- BooleanFunctions.cs
- DbConnectionStringBuilder.cs
- StorageEntityContainerMapping.cs
- MultipleCopiesCollection.cs
- CubicEase.cs
- Gdiplus.cs
- ColumnWidthChangingEvent.cs
- ListDictionary.cs
- XDRSchema.cs
- XmlAttributeCache.cs
- QueryCacheKey.cs
- MostlySingletonList.cs
- TablePattern.cs
- DataTemplate.cs
- ManualResetEvent.cs
- ObjectAnimationBase.cs
- EntityContainerEntitySet.cs
- Point4DValueSerializer.cs
- ProviderBase.cs
- ClockController.cs
- FixedPageStructure.cs
- ModifiableIteratorCollection.cs
- DomainLiteralReader.cs
- TablePattern.cs
- PointValueSerializer.cs
- AppDomainManager.cs
- Column.cs
- FacetEnabledSchemaElement.cs
- Semaphore.cs
- WebRequestModulesSection.cs
- embossbitmapeffect.cs
- FrameworkContextData.cs
- XmlEnumAttribute.cs
- objectresult_tresulttype.cs
- XPathDescendantIterator.cs
- ReferenceConverter.cs
- SimpleBitVector32.cs
- OdbcInfoMessageEvent.cs
- WindowsContainer.cs
- XmlnsPrefixAttribute.cs
- XamlToRtfParser.cs
- ButtonDesigner.cs
- SplashScreenNativeMethods.cs
- XmlEntityReference.cs
- MessageQueuePermissionAttribute.cs
- ReflectionServiceProvider.cs
- InputScopeAttribute.cs
- DataGridSortingEventArgs.cs
- ExceptionHandlerDesigner.cs
- XmlSchemaValidator.cs
- SqlConnectionManager.cs