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
- WindowsUpDown.cs
- RuntimeWrappedException.cs
- ContentOperations.cs
- EtwProvider.cs
- MenuCommand.cs
- WebContext.cs
- ExcludeFromCodeCoverageAttribute.cs
- DocumentOrderComparer.cs
- DataSetUtil.cs
- TemplateContentLoader.cs
- Encoder.cs
- followingquery.cs
- SurrogateSelector.cs
- ParagraphVisual.cs
- Brushes.cs
- Model3DGroup.cs
- Msec.cs
- SelectionProviderWrapper.cs
- HatchBrush.cs
- WebPartConnectionsCancelVerb.cs
- InputMethodStateTypeInfo.cs
- AlternateView.cs
- CodePageUtils.cs
- FunctionDescription.cs
- Queue.cs
- ActivityDesignerLayoutSerializers.cs
- SafeNativeMethods.cs
- _ConnectStream.cs
- ChannelServices.cs
- ItemsChangedEventArgs.cs
- Constraint.cs
- ValidationEventArgs.cs
- FormParameter.cs
- BasicCellRelation.cs
- ConnectionModeReader.cs
- BufferModesCollection.cs
- LineServicesCallbacks.cs
- ShapingWorkspace.cs
- TrustLevelCollection.cs
- HtmlHead.cs
- NumericUpDownAcceleration.cs
- StrokeRenderer.cs
- CounterSampleCalculator.cs
- SafeLibraryHandle.cs
- LineGeometry.cs
- TreeViewDesigner.cs
- TypeInfo.cs
- ObjectDataSourceFilteringEventArgs.cs
- ByteViewer.cs
- ProjectionPruner.cs
- CallSiteHelpers.cs
- ImplicitInputBrush.cs
- SingleAnimation.cs
- ResolveCompletedEventArgs.cs
- Grammar.cs
- HebrewNumber.cs
- RoleService.cs
- BaseDataBoundControl.cs
- SelectionItemProviderWrapper.cs
- MatrixIndependentAnimationStorage.cs
- ManagedWndProcTracker.cs
- RouteValueExpressionBuilder.cs
- Stylus.cs
- CharacterBufferReference.cs
- IntranetCredentialPolicy.cs
- OLEDB_Util.cs
- XmlSchemaObjectCollection.cs
- TreeNodeMouseHoverEvent.cs
- StringAnimationUsingKeyFrames.cs
- OracleCommandBuilder.cs
- Shape.cs
- SiteMap.cs
- X509CertificateCollection.cs
- DataSourceNameHandler.cs
- XmlSchemaObjectCollection.cs
- xmlfixedPageInfo.cs
- PreviewKeyDownEventArgs.cs
- SiteMapPath.cs
- SerializableAttribute.cs
- ObjectMemberMapping.cs
- TraceInternal.cs
- Avt.cs
- QueueProcessor.cs
- NoPersistScope.cs
- PingOptions.cs
- TextBoxBase.cs
- HttpApplicationFactory.cs
- XsltArgumentList.cs
- TypeConstant.cs
- GlobalEventManager.cs
- SystemIPv6InterfaceProperties.cs
- MemberPath.cs
- OletxEnlistment.cs
- keycontainerpermission.cs
- HttpMethodAttribute.cs
- AppliedDeviceFiltersDialog.cs
- HostExecutionContextManager.cs
- DynamicActivity.cs
- HandlerMappingMemo.cs
- AttributeProviderAttribute.cs