Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- XmlCDATASection.cs
- FixedFindEngine.cs
- SupportsEventValidationAttribute.cs
- Expander.cs
- DataBoundControl.cs
- HttpProfileGroupBase.cs
- DateTimeFormatInfoScanner.cs
- MetadataFile.cs
- InkCanvasInnerCanvas.cs
- InternalControlCollection.cs
- ButtonChrome.cs
- ChannelDispatcherBase.cs
- WebBrowsableAttribute.cs
- XmlUtf8RawTextWriter.cs
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- RowBinding.cs
- CaseInsensitiveOrdinalStringComparer.cs
- FrameDimension.cs
- PersonalizationProviderCollection.cs
- ServicesUtilities.cs
- CalculatedColumn.cs
- Collection.cs
- PersianCalendar.cs
- StyleHelper.cs
- CqlErrorHelper.cs
- XmlHierarchyData.cs
- Math.cs
- DesignerTransactionCloseEvent.cs
- SqlXmlStorage.cs
- ClientUIRequest.cs
- DataServiceQuery.cs
- StringValidatorAttribute.cs
- BufferAllocator.cs
- WinInet.cs
- NCryptSafeHandles.cs
- XamlTreeBuilderBamlRecordWriter.cs
- SafeNativeMethods.cs
- ConstructorBuilder.cs
- AssociationProvider.cs
- XmlSchema.cs
- ListViewCommandEventArgs.cs
- MediaContextNotificationWindow.cs
- PageVisual.cs
- NamespaceDecl.cs
- GlyphElement.cs
- UnsafeMethods.cs
- XhtmlTextWriter.cs
- DescendantBaseQuery.cs
- SHA1.cs
- ToolStripPanelCell.cs
- Sql8ConformanceChecker.cs
- CopyNamespacesAction.cs
- GregorianCalendarHelper.cs
- TextParagraphProperties.cs
- PerfCounterSection.cs
- input.cs
- BlurEffect.cs
- EDesignUtil.cs
- ListCommandEventArgs.cs
- Hyperlink.cs
- MethodRental.cs
- IgnoreFileBuildProvider.cs
- PtsHost.cs
- UnmanagedBitmapWrapper.cs
- Repeater.cs
- FileCodeGroup.cs
- XamlReaderHelper.cs
- Variable.cs
- RepeaterItemCollection.cs
- KnownBoxes.cs
- ServiceManager.cs
- DataObjectFieldAttribute.cs
- PerfService.cs
- PtsCache.cs
- Attribute.cs
- VerifyHashRequest.cs
- OleDbRowUpdatedEvent.cs
- PointConverter.cs
- ServiceModelDictionary.cs
- SystemIcmpV6Statistics.cs
- NotifyCollectionChangedEventArgs.cs
- InstallerTypeAttribute.cs
- Encoding.cs
- followingquery.cs
- TreeBuilderXamlTranslator.cs
- BufferedReadStream.cs
- ServiceAuthorizationBehavior.cs
- ZipPackage.cs
- XmlSchemaIdentityConstraint.cs
- StringConverter.cs
- WsdlImporterElementCollection.cs
- RevocationPoint.cs
- FontWeightConverter.cs
- ColorMap.cs
- ListBoxChrome.cs
- FullTextState.cs
- FtpWebRequest.cs
- SerializationSectionGroup.cs
- OLEDB_Util.cs
- OdbcDataReader.cs