Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / OutputCacheSettingsSection.cs / 1305376 / 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; /**/ 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; /**/ 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
- ObjectItemCollection.cs
- TextParagraphProperties.cs
- XmlFormatWriterGenerator.cs
- ButtonBaseAutomationPeer.cs
- HttpHandlerAction.cs
- FocusManager.cs
- InternalEnumValidator.cs
- ColumnWidthChangedEvent.cs
- ExpressionNode.cs
- OleDbReferenceCollection.cs
- ParameterModifier.cs
- bidPrivateBase.cs
- FileSystemInfo.cs
- DocumentPropertiesDialog.cs
- ListView.cs
- WebPartConnectionsCancelVerb.cs
- HttpCacheParams.cs
- ChtmlImageAdapter.cs
- Object.cs
- PhonemeConverter.cs
- AttachedPropertyBrowsableAttribute.cs
- ConditionBrowserDialog.cs
- _AutoWebProxyScriptEngine.cs
- TerminatorSinks.cs
- BinaryUtilClasses.cs
- SelectedGridItemChangedEvent.cs
- Context.cs
- EasingKeyFrames.cs
- SpecialTypeDataContract.cs
- ErrorHandler.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- MaskedTextBoxTextEditor.cs
- MarkupExtensionParser.cs
- ToolBarPanel.cs
- X509Chain.cs
- HwndSourceParameters.cs
- StructuredType.cs
- ToolStripDropDownClosingEventArgs.cs
- XmlNode.cs
- CryptoApi.cs
- FlowchartDesigner.xaml.cs
- DependencySource.cs
- SchemaSetCompiler.cs
- LifetimeServices.cs
- StreamReader.cs
- WindowsGraphicsCacheManager.cs
- ToolStripDropDownItem.cs
- InvalidComObjectException.cs
- XPathParser.cs
- Binding.cs
- SmiGettersStream.cs
- RunWorkerCompletedEventArgs.cs
- BaseDataBoundControl.cs
- XPathNode.cs
- HistoryEventArgs.cs
- ShapingEngine.cs
- Line.cs
- CodeDelegateCreateExpression.cs
- XmlSerializer.cs
- ValueHandle.cs
- LiteralTextContainerControlBuilder.cs
- WebPartConnectionsDisconnectVerb.cs
- DelegateHelpers.cs
- EmulateRecognizeCompletedEventArgs.cs
- SamlSubject.cs
- ProfileService.cs
- ObjectSet.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- AsyncInvokeContext.cs
- BinHexDecoder.cs
- RelatedCurrencyManager.cs
- XmlCharacterData.cs
- Accessible.cs
- GroupDescription.cs
- DesignerActionPanel.cs
- DateTimeSerializationSection.cs
- PrintPreviewGraphics.cs
- RichTextBoxAutomationPeer.cs
- StorageEntityTypeMapping.cs
- HtmlShim.cs
- DbProviderFactoriesConfigurationHandler.cs
- RtfFormatStack.cs
- UserValidatedEventArgs.cs
- HiddenFieldPageStatePersister.cs
- Convert.cs
- StyleCollectionEditor.cs
- OdbcConnectionFactory.cs
- ReadOnlyAttribute.cs
- CleanUpVirtualizedItemEventArgs.cs
- ResourceDefaultValueAttribute.cs
- CapabilitiesSection.cs
- WebHttpEndpoint.cs
- ResXFileRef.cs
- ConfigXmlAttribute.cs
- LocalizableResourceBuilder.cs
- Label.cs
- DataRowCollection.cs
- InputScopeNameConverter.cs
- VisualTreeUtils.cs
- ProcessHostServerConfig.cs