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
- DataObjectEventArgs.cs
- DbProviderSpecificTypePropertyAttribute.cs
- MouseGesture.cs
- VisualBasic.cs
- Predicate.cs
- Timer.cs
- BrowserInteropHelper.cs
- BinaryParser.cs
- SqlConnection.cs
- FileUtil.cs
- XComponentModel.cs
- TextReader.cs
- TdsParserHelperClasses.cs
- WriterOutput.cs
- PersonalizationProvider.cs
- SHA512Managed.cs
- ModelUIElement3D.cs
- CacheHelper.cs
- XpsFilter.cs
- StatusBarPanelClickEvent.cs
- BigInt.cs
- TextEditorTyping.cs
- ToolStripLabel.cs
- AuthenticateEventArgs.cs
- LocalValueEnumerator.cs
- DataFormats.cs
- WindowsSlider.cs
- OrderByBuilder.cs
- ArrayList.cs
- SessionStateContainer.cs
- autovalidator.cs
- MeasurementDCInfo.cs
- ColorAnimation.cs
- WebPartDisplayModeCancelEventArgs.cs
- InfoCardListRequest.cs
- WasHttpModulesInstallComponent.cs
- ComplexPropertyEntry.cs
- AttributeData.cs
- PathNode.cs
- TableRowGroup.cs
- TableNameAttribute.cs
- PageSetupDialog.cs
- NullRuntimeConfig.cs
- OleDbRowUpdatedEvent.cs
- IPipelineRuntime.cs
- TreeBuilder.cs
- Win32Exception.cs
- SqlError.cs
- SystemGatewayIPAddressInformation.cs
- PointConverter.cs
- TypefaceCollection.cs
- ZipPackage.cs
- FillRuleValidation.cs
- DataListAutoFormat.cs
- SecurityTokenSerializer.cs
- OdbcRowUpdatingEvent.cs
- DisposableCollectionWrapper.cs
- SslStreamSecurityUpgradeProvider.cs
- ClientTargetCollection.cs
- UiaCoreProviderApi.cs
- Win32PrintDialog.cs
- Confirm.cs
- PropertyBuilder.cs
- AuthenticationModuleElementCollection.cs
- CreateParams.cs
- WebPartMovingEventArgs.cs
- HandlerBase.cs
- AstNode.cs
- XmlSchemaComplexContentExtension.cs
- _IPv4Address.cs
- XsltConvert.cs
- EntityDataSourceStatementEditor.cs
- MultiView.cs
- EmptyQuery.cs
- _PooledStream.cs
- ObjectViewListener.cs
- TextLine.cs
- ProgressBarRenderer.cs
- ModelVisual3D.cs
- PublisherMembershipCondition.cs
- ListViewContainer.cs
- FilePrompt.cs
- PolicyException.cs
- DrawingContextWalker.cs
- FlowDocumentReader.cs
- DefaultProxySection.cs
- DesignerDeviceConfig.cs
- PropertyGridEditorPart.cs
- SqlProcedureAttribute.cs
- LinkUtilities.cs
- Marshal.cs
- XPathException.cs
- SqlBuilder.cs
- HandledMouseEvent.cs
- SoundPlayerAction.cs
- SystemTcpConnection.cs
- PrtTicket_Base.cs
- AdPostCacheSubstitution.cs
- SimpleWorkerRequest.cs
- CellTreeSimplifier.cs