Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ResourcesBuildProvider.cs
- AttachmentCollection.cs
- MethodExpr.cs
- WorkflowViewManager.cs
- WebPartEditorApplyVerb.cs
- HttpException.cs
- StrongNamePublicKeyBlob.cs
- safePerfProviderHandle.cs
- ReflectEventDescriptor.cs
- MenuCommands.cs
- HebrewNumber.cs
- Contracts.cs
- RightsManagementInformation.cs
- DataIdProcessor.cs
- SpoolingTask.cs
- EntryIndex.cs
- _HTTPDateParse.cs
- TimeSpanFormat.cs
- WebPartCancelEventArgs.cs
- LostFocusEventManager.cs
- UnicodeEncoding.cs
- WebPartMinimizeVerb.cs
- FileUtil.cs
- Odbc32.cs
- DomainUpDown.cs
- TemplateLookupAction.cs
- dbdatarecord.cs
- TogglePattern.cs
- UnsafeNativeMethods.cs
- FormatVersion.cs
- AggregateNode.cs
- ImageAnimator.cs
- CopyAttributesAction.cs
- FilteredDataSetHelper.cs
- Nodes.cs
- DependencyPropertyAttribute.cs
- TransformerInfoCollection.cs
- FileInfo.cs
- SqlAliaser.cs
- TypeValidationEventArgs.cs
- StrictAndMessageFilter.cs
- CompilationSection.cs
- CalendarDay.cs
- MLangCodePageEncoding.cs
- ParameterRetriever.cs
- ReferenceConverter.cs
- NamedPipeProcessProtocolHandler.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- RefExpr.cs
- DataObjectFieldAttribute.cs
- MarkupWriter.cs
- DownloadProgressEventArgs.cs
- BindingParameterCollection.cs
- DescendantOverDescendantQuery.cs
- ListSortDescriptionCollection.cs
- HostExecutionContextManager.cs
- WebPartActionVerb.cs
- Polygon.cs
- Setter.cs
- GridViewColumnHeaderAutomationPeer.cs
- DataControlLinkButton.cs
- SynchronousChannel.cs
- AssertFilter.cs
- DesignerForm.cs
- MessageBuffer.cs
- RowCache.cs
- grammarelement.cs
- DisableDpiAwarenessAttribute.cs
- ChangePasswordAutoFormat.cs
- SqlCacheDependencyDatabase.cs
- FlowDocument.cs
- PersistenceTypeAttribute.cs
- DrawingAttributes.cs
- Assembly.cs
- RbTree.cs
- DbConnectionPool.cs
- MenuAutomationPeer.cs
- SqlParameterizer.cs
- Console.cs
- DefaultTraceListener.cs
- SlotInfo.cs
- DataServiceRequestOfT.cs
- Models.cs
- WebConfigurationHost.cs
- TableCellsCollectionEditor.cs
- TemplatePropertyEntry.cs
- Stackframe.cs
- Stroke2.cs
- SHA256Managed.cs
- TextDpi.cs
- UriTemplateQueryValue.cs
- RuntimeUtils.cs
- IncrementalHitTester.cs
- AsyncCompletedEventArgs.cs
- DataRow.cs
- XmlSerializerFactory.cs
- mediaeventargs.cs
- HealthMonitoringSectionHelper.cs
- Suspend.cs
- CompiledXpathExpr.cs