Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / Configuration / OutputCacheSettingsSection.cs / 5 / 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
- securitycriticaldataClass.cs
- MemoryPressure.cs
- DictionaryBase.cs
- ScriptIgnoreAttribute.cs
- MouseEvent.cs
- WindowsMenu.cs
- CreateRefExpr.cs
- CheckedPointers.cs
- SetterBase.cs
- PropertyChangedEventArgs.cs
- RSAProtectedConfigurationProvider.cs
- ContractTypeNameElement.cs
- TabletDeviceInfo.cs
- PasswordPropertyTextAttribute.cs
- DefaultObjectMappingItemCollection.cs
- Rotation3D.cs
- RuleSettingsCollection.cs
- GPPOINTF.cs
- PtsCache.cs
- DesignOnlyAttribute.cs
- ModelFactory.cs
- RuntimeUtils.cs
- CssTextWriter.cs
- WrappingXamlSchemaContext.cs
- CanonicalXml.cs
- DesignerAutoFormatStyle.cs
- SecurityUtils.cs
- TagMapCollection.cs
- WindowsIdentity.cs
- TraceListeners.cs
- CodeGotoStatement.cs
- AssemblyResourceLoader.cs
- InternalConfigConfigurationFactory.cs
- AsyncCompletedEventArgs.cs
- AttributeQuery.cs
- ClusterSafeNativeMethods.cs
- TrustLevel.cs
- DataGridRelationshipRow.cs
- LayoutEngine.cs
- DataObject.cs
- UnsafeNativeMethods.cs
- RegistryKey.cs
- HashStream.cs
- ProcessHostMapPath.cs
- WebControlAdapter.cs
- CorePropertiesFilter.cs
- CompModSwitches.cs
- CustomErrorsSection.cs
- AndMessageFilterTable.cs
- WebSysDisplayNameAttribute.cs
- MailAddressCollection.cs
- DummyDataSource.cs
- CompilerParameters.cs
- ToolStripContentPanelRenderEventArgs.cs
- TypeLibConverter.cs
- InlinedAggregationOperator.cs
- TextEditor.cs
- UidPropertyAttribute.cs
- PieceDirectory.cs
- MetricEntry.cs
- GridItemCollection.cs
- SqlVisitor.cs
- EpmContentSerializer.cs
- StorageSetMapping.cs
- NameObjectCollectionBase.cs
- GridViewCancelEditEventArgs.cs
- HoistedLocals.cs
- SamlSerializer.cs
- SplashScreen.cs
- WebServiceFault.cs
- indexingfiltermarshaler.cs
- PassportPrincipal.cs
- FormatVersion.cs
- HtmlTableCellCollection.cs
- CommandID.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- Helpers.cs
- SharedPerformanceCounter.cs
- WebServiceEndpoint.cs
- SqlGenerator.cs
- MultiView.cs
- MetadataProperty.cs
- RegexBoyerMoore.cs
- CompositionDesigner.cs
- XslCompiledTransform.cs
- XmlNodeComparer.cs
- SystemIPInterfaceProperties.cs
- SqlWebEventProvider.cs
- XNodeValidator.cs
- PackagePartCollection.cs
- GlobalAclOperationRequirement.cs
- InputScopeAttribute.cs
- CompileXomlTask.cs
- DesignTimeVisibleAttribute.cs
- DeclarationUpdate.cs
- DataSourceGeneratorException.cs
- mansign.cs
- Hash.cs
- XmlBindingWorker.cs
- TileModeValidation.cs