Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / Configuration / OutputCacheSettingsSection.cs / 2 / 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. //------------------------------------------------------------------------------ // // 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NotSupportedException.cs
- DWriteFactory.cs
- baseshape.cs
- Int32Storage.cs
- rsa.cs
- PackageDigitalSignature.cs
- EventMappingSettingsCollection.cs
- PathGeometry.cs
- ErrorTolerantObjectWriter.cs
- Matrix3DStack.cs
- ExecutionContext.cs
- WorkflowQueuingService.cs
- CodeTypeReferenceExpression.cs
- TransactionFlowElement.cs
- KeyBinding.cs
- ToggleProviderWrapper.cs
- XmlArrayItemAttribute.cs
- ClientSideProviderDescription.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- StatusBar.cs
- ObjectItemAssemblyLoader.cs
- JapaneseCalendar.cs
- ControlCachePolicy.cs
- InternalPermissions.cs
- RotationValidation.cs
- ParentQuery.cs
- MouseCaptureWithinProperty.cs
- SQLConvert.cs
- DescendantBaseQuery.cs
- PropertyGrid.cs
- ListItem.cs
- GridViewColumnHeaderAutomationPeer.cs
- Point3DKeyFrameCollection.cs
- ListViewGroupConverter.cs
- X509ChainElement.cs
- TracePayload.cs
- ThrowHelper.cs
- Rotation3D.cs
- SocketInformation.cs
- TreeChangeInfo.cs
- BitmapEffectRenderDataResource.cs
- MDIClient.cs
- BoundsDrawingContextWalker.cs
- ListViewTableRow.cs
- FormsAuthenticationEventArgs.cs
- LoadGrammarCompletedEventArgs.cs
- StringTraceRecord.cs
- WebControl.cs
- ValidationEventArgs.cs
- EncryptedReference.cs
- RangeValuePattern.cs
- CorrelationTokenTypeConvertor.cs
- Block.cs
- PageParser.cs
- SystemParameters.cs
- ResourceCollectionInfo.cs
- StylusShape.cs
- SafeEventHandle.cs
- ListViewGroupConverter.cs
- HtmlElementErrorEventArgs.cs
- TextPenaltyModule.cs
- StylusPointPropertyInfo.cs
- DynamicDocumentPaginator.cs
- EmptyEnumerator.cs
- ChtmlFormAdapter.cs
- ProtocolsConfiguration.cs
- ModuleConfigurationInfo.cs
- GridView.cs
- ConfigXmlCDataSection.cs
- DataGridTableCollection.cs
- ToolboxItemAttribute.cs
- TextParentUndoUnit.cs
- RestHandler.cs
- BigInt.cs
- DataDocumentXPathNavigator.cs
- MulticastOption.cs
- ConfigurationLockCollection.cs
- ToolBar.cs
- OdbcConnectionFactory.cs
- IProducerConsumerCollection.cs
- ObjectViewQueryResultData.cs
- AbsoluteQuery.cs
- Executor.cs
- validation.cs
- BaseParaClient.cs
- _LoggingObject.cs
- GeneratedView.cs
- WebPartHelpVerb.cs
- Dictionary.cs
- _ChunkParse.cs
- AjaxFrameworkAssemblyAttribute.cs
- CodeConstructor.cs
- AppearanceEditorPart.cs
- Light.cs
- ReliabilityContractAttribute.cs
- CultureTableRecord.cs
- RewritingProcessor.cs
- StorageFunctionMapping.cs
- BitmapImage.cs
- HtmlTextBoxAdapter.cs