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
- RTLAwareMessageBox.cs
- OracleParameterBinding.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ProfilePropertySettings.cs
- ModelPropertyImpl.cs
- DataGridSortCommandEventArgs.cs
- Int32AnimationUsingKeyFrames.cs
- HttpChannelBindingToken.cs
- FtpRequestCacheValidator.cs
- RoutedEventConverter.cs
- XmlElementCollection.cs
- BufferModesCollection.cs
- HtmlAnchor.cs
- FormsAuthentication.cs
- LinearGradientBrush.cs
- BlockCollection.cs
- DragSelectionMessageFilter.cs
- SoapObjectInfo.cs
- GroupStyle.cs
- HttpStreamFormatter.cs
- TdsParserSessionPool.cs
- SingleConverter.cs
- DefaultAssemblyResolver.cs
- WebPartCloseVerb.cs
- Debug.cs
- HwndSubclass.cs
- TransformerConfigurationWizardBase.cs
- NewItemsContextMenuStrip.cs
- ValidationError.cs
- WorkerRequest.cs
- UpdateTracker.cs
- NumericUpDownAccelerationCollection.cs
- ValueQuery.cs
- LabelEditEvent.cs
- ExecutedRoutedEventArgs.cs
- DependencyObjectValidator.cs
- UriWriter.cs
- Decorator.cs
- _UncName.cs
- MethodCallConverter.cs
- MimeImporter.cs
- QuaternionAnimationBase.cs
- PageThemeCodeDomTreeGenerator.cs
- PassportAuthentication.cs
- XamlSerializer.cs
- _AutoWebProxyScriptEngine.cs
- GlyphRun.cs
- NotSupportedException.cs
- HtmlInputReset.cs
- ActivationArguments.cs
- OpCodes.cs
- DispatcherOperation.cs
- ChannelTraceRecord.cs
- ResourceExpressionBuilder.cs
- RsaKeyIdentifierClause.cs
- TypeToken.cs
- NativeWrapper.cs
- ProcessThread.cs
- ControlParameter.cs
- Rotation3DKeyFrameCollection.cs
- LinkDescriptor.cs
- UnsafeNativeMethods.cs
- SequenceDesigner.cs
- ResourceAssociationSetEnd.cs
- MoveSizeWinEventHandler.cs
- DataTableReaderListener.cs
- GridViewColumnCollection.cs
- DriveNotFoundException.cs
- Optimizer.cs
- RuntimeIdentifierPropertyAttribute.cs
- String.cs
- XmlTextWriter.cs
- XmlAttributeOverrides.cs
- UInt32Storage.cs
- SlipBehavior.cs
- CalloutQueueItem.cs
- CellPartitioner.cs
- PropertyChangingEventArgs.cs
- DbSourceCommand.cs
- CachedBitmap.cs
- RemoteWebConfigurationHostServer.cs
- RowType.cs
- DrawToolTipEventArgs.cs
- MetricEntry.cs
- NullableLongAverageAggregationOperator.cs
- DataGridViewButtonCell.cs
- InstallerTypeAttribute.cs
- BooleanFacetDescriptionElement.cs
- COM2IProvidePropertyBuilderHandler.cs
- _Connection.cs
- DataGridViewCell.cs
- ReadOnlyObservableCollection.cs
- PropertyEmitter.cs
- XsdBuildProvider.cs
- SiteMapNodeItemEventArgs.cs
- MediaScriptCommandRoutedEventArgs.cs
- COM2ExtendedTypeConverter.cs
- HandlerBase.cs
- ListBox.cs
- FileSystemEventArgs.cs