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
- EntityContainer.cs
- TreeView.cs
- propertyentry.cs
- WebDisplayNameAttribute.cs
- AssociationTypeEmitter.cs
- HostingEnvironment.cs
- SQLGuidStorage.cs
- FillErrorEventArgs.cs
- Decoder.cs
- FixedDocumentSequencePaginator.cs
- BinHexEncoder.cs
- Base64Encoder.cs
- SchemaTableColumn.cs
- WindowsStartMenu.cs
- OptimisticConcurrencyException.cs
- WebBaseEventKeyComparer.cs
- UIServiceHelper.cs
- InfoCardAsymmetricCrypto.cs
- TextParagraphProperties.cs
- CodeNamespace.cs
- Triplet.cs
- RijndaelManagedTransform.cs
- CompilerScopeManager.cs
- SQLDoubleStorage.cs
- HyperLinkField.cs
- RpcResponse.cs
- Privilege.cs
- RequestStatusBarUpdateEventArgs.cs
- TrackingServices.cs
- OleDbSchemaGuid.cs
- XmlMtomReader.cs
- DataGridBoolColumn.cs
- FormsAuthenticationUser.cs
- ColorDialog.cs
- XmlCharType.cs
- DataPagerFieldCommandEventArgs.cs
- TypeReference.cs
- KeyProperty.cs
- DataControlButton.cs
- HatchBrush.cs
- AutoGeneratedFieldProperties.cs
- DictationGrammar.cs
- GradientStop.cs
- ManualResetEvent.cs
- TransformerConfigurationWizardBase.cs
- PageContent.cs
- TextTreeUndo.cs
- RuntimeArgument.cs
- AutoGeneratedFieldProperties.cs
- UIElement.cs
- HostnameComparisonMode.cs
- mediaclock.cs
- EntitySetBaseCollection.cs
- HeaderedItemsControl.cs
- SortFieldComparer.cs
- HelloMessage11.cs
- SpinLock.cs
- RunInstallerAttribute.cs
- FormatConvertedBitmap.cs
- BasicViewGenerator.cs
- Part.cs
- CodeDomSerializerException.cs
- ListViewDeleteEventArgs.cs
- XhtmlBasicSelectionListAdapter.cs
- SchemaNamespaceManager.cs
- ObjectPropertyMapping.cs
- DependsOnAttribute.cs
- JournalNavigationScope.cs
- CategoryAttribute.cs
- TypeElement.cs
- XmlName.cs
- ContextDataSourceContextData.cs
- DocumentXmlWriter.cs
- ADRole.cs
- LinkArea.cs
- AttributeCollection.cs
- GiveFeedbackEventArgs.cs
- SymDocumentType.cs
- TemplateXamlTreeBuilder.cs
- CharacterShapingProperties.cs
- HttpCookiesSection.cs
- MarginCollapsingState.cs
- TemplateBindingExtension.cs
- FilterException.cs
- Win32SafeHandles.cs
- SessionPageStatePersister.cs
- ExpressionVisitor.cs
- oledbconnectionstring.cs
- RectangleGeometry.cs
- ObjectConverter.cs
- Repeater.cs
- DateTimeFormatInfo.cs
- FixedDocumentPaginator.cs
- TraceHandler.cs
- _IPv4Address.cs
- SecurityUtils.cs
- IResourceProvider.cs
- PerformanceCounterPermissionAttribute.cs
- DataColumnSelectionConverter.cs
- SmiEventSink_Default.cs