Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Configuration / OutputCacheSettingsSection.cs / 3 / 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 } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextShapeableCharacters.cs
- VisualStyleElement.cs
- XmlSerializerFormatAttribute.cs
- PropertyToken.cs
- OdbcInfoMessageEvent.cs
- ConnectionPoint.cs
- LinqDataView.cs
- GridLength.cs
- BitmapImage.cs
- DataControlButton.cs
- VideoDrawing.cs
- EventlogProvider.cs
- Rules.cs
- UriSchemeKeyedCollection.cs
- DiffuseMaterial.cs
- MonthCalendar.cs
- OdbcError.cs
- _UriSyntax.cs
- RemoteWebConfigurationHost.cs
- ReplyChannel.cs
- SqlParameterCollection.cs
- ResourcesGenerator.cs
- ClosableStream.cs
- VisualStyleInformation.cs
- _ListenerRequestStream.cs
- HttpRequestBase.cs
- StorageEntityContainerMapping.cs
- BufferBuilder.cs
- Point4D.cs
- ScrollEventArgs.cs
- EventMetadata.cs
- PingOptions.cs
- ReachUIElementCollectionSerializerAsync.cs
- configsystem.cs
- ListSourceHelper.cs
- SyntaxCheck.cs
- ToolStripItemImageRenderEventArgs.cs
- OrderByBuilder.cs
- Subtree.cs
- URLIdentityPermission.cs
- FilteredDataSetHelper.cs
- FrugalList.cs
- XmlReflectionImporter.cs
- BitmapEffect.cs
- PageThemeParser.cs
- NamespaceEmitter.cs
- DataGridViewCellStyleChangedEventArgs.cs
- EncoderBestFitFallback.cs
- RIPEMD160Managed.cs
- ContentOperations.cs
- StandardToolWindows.cs
- EtwTrace.cs
- ParameterRetriever.cs
- ColorAnimation.cs
- QueryRewriter.cs
- UIElement.cs
- ClientEventManager.cs
- ButtonStandardAdapter.cs
- TextRangeEditLists.cs
- DynamicPropertyHolder.cs
- InvalidFilterCriteriaException.cs
- ScriptResourceHandler.cs
- DoubleUtil.cs
- DispatcherProcessingDisabled.cs
- TypeConverter.cs
- WindowsRichEdit.cs
- Run.cs
- ImplicitInputBrush.cs
- DisableDpiAwarenessAttribute.cs
- SqlLiftWhereClauses.cs
- EntityClientCacheEntry.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ReflectionPermission.cs
- DataErrorValidationRule.cs
- DbConnectionFactory.cs
- TypedReference.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- ContractAdapter.cs
- PrintController.cs
- CharKeyFrameCollection.cs
- WindowsAltTab.cs
- InternalConfigSettingsFactory.cs
- MatrixKeyFrameCollection.cs
- TextRunCacheImp.cs
- ColumnHeaderConverter.cs
- _AcceptOverlappedAsyncResult.cs
- Item.cs
- EncryptedHeader.cs
- XamlFrame.cs
- recordstatescratchpad.cs
- Crypto.cs
- TextEditorThreadLocalStore.cs
- DataGrid.cs
- SettingsPropertyNotFoundException.cs
- XComponentModel.cs
- LocatorManager.cs
- ColumnMapTranslator.cs
- SecurityDescriptor.cs
- ProjectionQueryOptionExpression.cs
- LinkTarget.cs