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
- Context.cs
- TokenizerHelper.cs
- XpsFontSerializationService.cs
- SearchForVirtualItemEventArgs.cs
- FlowDocumentReader.cs
- UidManager.cs
- EdmPropertyAttribute.cs
- XmlSchemaAttributeGroupRef.cs
- AutoSizeComboBox.cs
- GradientBrush.cs
- XMLSchema.cs
- BitmapImage.cs
- StoreItemCollection.cs
- ClientBuildManager.cs
- ExpressionVisitorHelpers.cs
- TextSpan.cs
- ZoneLinkButton.cs
- XmlSchemaImport.cs
- XmlCodeExporter.cs
- ExeContext.cs
- InputProviderSite.cs
- basenumberconverter.cs
- RemotingConfiguration.cs
- ListViewItemEventArgs.cs
- SubqueryRules.cs
- ApplicationServiceManager.cs
- DataServiceHostWrapper.cs
- NGCPageContentSerializerAsync.cs
- ConfigurationSchemaErrors.cs
- CapabilitiesState.cs
- HeaderedContentControl.cs
- IListConverters.cs
- PrintDocument.cs
- FileAuthorizationModule.cs
- WindowsFormsHostAutomationPeer.cs
- PropertyChangingEventArgs.cs
- PolicyStatement.cs
- ButtonStandardAdapter.cs
- DLinqColumnProvider.cs
- ElementUtil.cs
- PTProvider.cs
- ResourceType.cs
- InOutArgumentConverter.cs
- DockProviderWrapper.cs
- OpenTypeLayout.cs
- AppDomainManager.cs
- CharacterHit.cs
- CancelRequestedRecord.cs
- EpmCustomContentSerializer.cs
- AsnEncodedData.cs
- Encoder.cs
- StructuralObject.cs
- BitmapEffectGroup.cs
- RegistryHandle.cs
- RootBuilder.cs
- InvokeBinder.cs
- EmptyEnumerator.cs
- TransformValueSerializer.cs
- PeerObject.cs
- DockingAttribute.cs
- NavigationHelper.cs
- Message.cs
- MulticastNotSupportedException.cs
- SQLBytes.cs
- RuntimeConfig.cs
- MultiBindingExpression.cs
- LinkedResourceCollection.cs
- HashAlgorithm.cs
- RectConverter.cs
- SymLanguageType.cs
- ReadOnlyCollection.cs
- ScriptingScriptResourceHandlerSection.cs
- CustomError.cs
- DataGridTableCollection.cs
- ConfigurationValue.cs
- AsmxEndpointPickerExtension.cs
- Byte.cs
- ChtmlTextWriter.cs
- XmlCharCheckingReader.cs
- IWorkflowDebuggerService.cs
- Point3DKeyFrameCollection.cs
- PropertyChangeTracker.cs
- ResolveCriteriaCD1.cs
- DesignerActionUIStateChangeEventArgs.cs
- ReadOnlyCollection.cs
- IPEndPointCollection.cs
- HtmlInputPassword.cs
- MarkedHighlightComponent.cs
- QilFactory.cs
- designeractionbehavior.cs
- OleDbTransaction.cs
- ProviderConnectionPoint.cs
- ContainerSelectorGlyph.cs
- GroupBoxRenderer.cs
- Keywords.cs
- GlyphingCache.cs
- CodeVariableReferenceExpression.cs
- ColumnHeaderConverter.cs
- RenderData.cs
- _DomainName.cs