Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / OutputCacheSettingsSection.cs / 1305376 / 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; /**/ 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; /**/ 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
- ToolStripArrowRenderEventArgs.cs
- ColumnReorderedEventArgs.cs
- DataBoundControl.cs
- OracleBoolean.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- HierarchicalDataSourceControl.cs
- DataService.cs
- FlowThrottle.cs
- TableChangeProcessor.cs
- __TransparentProxy.cs
- MarkupExtensionReturnTypeAttribute.cs
- WindowsTreeView.cs
- TreeNodeStyleCollection.cs
- CalendarBlackoutDatesCollection.cs
- XmlAttributes.cs
- XmlILTrace.cs
- HandleInitializationContext.cs
- SqlInternalConnectionTds.cs
- HuffCodec.cs
- TextRunProperties.cs
- RecognizedPhrase.cs
- BitmapEffectState.cs
- Symbol.cs
- FilterUserControlBase.cs
- DataPagerFieldItem.cs
- HttpsHostedTransportConfiguration.cs
- XmlEntity.cs
- WindowsComboBox.cs
- GeneralTransform2DTo3DTo2D.cs
- DefaultPropertiesToSend.cs
- MetadataItemSerializer.cs
- PasswordPropertyTextAttribute.cs
- UInt16.cs
- QuaternionAnimation.cs
- ProviderConnectionPoint.cs
- ReverseInheritProperty.cs
- DesignerSelectionListAdapter.cs
- InertiaRotationBehavior.cs
- Input.cs
- TableLayoutStyle.cs
- LambdaCompiler.Generated.cs
- Light.cs
- TargetException.cs
- RequestBringIntoViewEventArgs.cs
- CodeMemberEvent.cs
- DesignerVerbCollection.cs
- SrgsDocument.cs
- RelationshipType.cs
- Stack.cs
- SecurityHelper.cs
- TextRunTypographyProperties.cs
- Size3D.cs
- Menu.cs
- UshortList2.cs
- OdbcDataReader.cs
- InputEventArgs.cs
- ConnectionPoint.cs
- XmlWrappingWriter.cs
- LinkButton.cs
- XmlNodeChangedEventArgs.cs
- TypeLibConverter.cs
- WaitForChangedResult.cs
- BulletChrome.cs
- DES.cs
- DocumentSequence.cs
- TextEditorParagraphs.cs
- FindProgressChangedEventArgs.cs
- Button.cs
- MenuBase.cs
- SafeEventLogReadHandle.cs
- WebCategoryAttribute.cs
- XmlReflectionImporter.cs
- EntityDataSourceViewSchema.cs
- AsyncWaitHandle.cs
- ResourceExpression.cs
- _Connection.cs
- SmiEventSink_Default.cs
- ListMarkerSourceInfo.cs
- WinEventHandler.cs
- WindowsImpersonationContext.cs
- MDIControlStrip.cs
- RowsCopiedEventArgs.cs
- WebBrowserSiteBase.cs
- OleDbEnumerator.cs
- DetailsViewDeleteEventArgs.cs
- FirewallWrapper.cs
- BinHexEncoder.cs
- ColumnClickEvent.cs
- CollectionsUtil.cs
- WeakEventTable.cs
- XmlSchemaObjectTable.cs
- HtmlEncodedRawTextWriter.cs
- InputLanguageSource.cs
- NamedPermissionSet.cs
- ImageCodecInfoPrivate.cs
- VisualBrush.cs
- TimeEnumHelper.cs
- DbProviderServices.cs
- SiteMapSection.cs
- TypeSemantics.cs