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
- Transform.cs
- RegistryKey.cs
- JsonFormatGeneratorStatics.cs
- SignedInfo.cs
- ReadOnlyHierarchicalDataSourceView.cs
- HtmlControlPersistable.cs
- FlowchartDesignerCommands.cs
- ValueSerializerAttribute.cs
- SeekableReadStream.cs
- HwndSourceParameters.cs
- PropertyValueChangedEvent.cs
- EnumConverter.cs
- RequiredFieldValidator.cs
- AxisAngleRotation3D.cs
- ChtmlImageAdapter.cs
- WindowsFont.cs
- GenericEnumConverter.cs
- InkPresenterAutomationPeer.cs
- HWStack.cs
- EventLogReader.cs
- CollectionChange.cs
- PasswordBoxAutomationPeer.cs
- FormsAuthenticationCredentials.cs
- Exceptions.cs
- WSHttpSecurity.cs
- EntityDataReader.cs
- HTMLTextWriter.cs
- BooleanToVisibilityConverter.cs
- FilteredXmlReader.cs
- CollectionChangedEventManager.cs
- AddInStore.cs
- InternalConfigHost.cs
- MouseActionValueSerializer.cs
- sqlstateclientmanager.cs
- ObsoleteAttribute.cs
- StyleTypedPropertyAttribute.cs
- DbgUtil.cs
- IsolatedStoragePermission.cs
- SchemaImporterExtension.cs
- _ConnectOverlappedAsyncResult.cs
- FrameworkTemplate.cs
- BamlResourceSerializer.cs
- XPathChildIterator.cs
- ExternalCalls.cs
- BaseProcessor.cs
- OdbcPermission.cs
- ServiceOperation.cs
- SpeechUI.cs
- OciEnlistContext.cs
- LambdaCompiler.Logical.cs
- DesignRelation.cs
- PageAsyncTask.cs
- DataServiceHostFactory.cs
- ControlCollection.cs
- SqlUserDefinedTypeAttribute.cs
- ManipulationPivot.cs
- SemaphoreSecurity.cs
- HttpCookieCollection.cs
- StickyNoteContentControl.cs
- EditorZoneBase.cs
- Permission.cs
- FigureParaClient.cs
- CodeDelegateCreateExpression.cs
- XmlAnyAttributeAttribute.cs
- PerformanceCountersElement.cs
- CodeTypeReferenceSerializer.cs
- StatusBarPanelClickEvent.cs
- Point4DConverter.cs
- ToolStripGrip.cs
- Operator.cs
- NumberFunctions.cs
- EnumMember.cs
- BinaryConverter.cs
- NetMsmqBindingElement.cs
- FontStretch.cs
- AdornerDecorator.cs
- BookmarkScope.cs
- VisualBrush.cs
- FtpRequestCacheValidator.cs
- TargetConverter.cs
- ControlCachePolicy.cs
- ContentHostHelper.cs
- DefaultValueTypeConverter.cs
- StringWriter.cs
- FusionWrap.cs
- WorkflowTimerService.cs
- CollectionContainer.cs
- TextParagraphProperties.cs
- CanonicalizationDriver.cs
- StyleCollection.cs
- EqualityComparer.cs
- DataView.cs
- InputLanguageEventArgs.cs
- FormViewRow.cs
- DrawingAttributesDefaultValueFactory.cs
- SimpleFileLog.cs
- Attribute.cs
- OutgoingWebResponseContext.cs
- ReadOnlyCollectionBase.cs
- BamlLocalizableResourceKey.cs