Code:
/ DotNET / DotNET / 8.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
- columnmapkeybuilder.cs
- WindowsAuthenticationModule.cs
- OdbcConnectionHandle.cs
- DataRecordInfo.cs
- UnsafePeerToPeerMethods.cs
- SecurityHelper.cs
- PrimitiveDataContract.cs
- SafeEventHandle.cs
- IntSecurity.cs
- MenuCommandsChangedEventArgs.cs
- RelationshipWrapper.cs
- _UriTypeConverter.cs
- WorkflowView.cs
- securitymgrsite.cs
- BulletedListEventArgs.cs
- NavigatorOutput.cs
- Control.cs
- CompilerCollection.cs
- WebPartManager.cs
- DashStyle.cs
- BinHexDecoder.cs
- MbpInfo.cs
- FormViewInsertedEventArgs.cs
- ControlSerializer.cs
- ExceptionHelpers.cs
- DataGridViewMethods.cs
- BitmapData.cs
- TextDecoration.cs
- UrlSyndicationContent.cs
- CustomPopupPlacement.cs
- externdll.cs
- PerformanceCountersElement.cs
- WsiProfilesElementCollection.cs
- TdsParserHelperClasses.cs
- MediaPlayer.cs
- DeploymentSection.cs
- DrawingVisual.cs
- RelatedImageListAttribute.cs
- Evidence.cs
- TextElement.cs
- ScaleTransform.cs
- WizardDesigner.cs
- MimeMultiPart.cs
- RepeaterItemCollection.cs
- ResourceProperty.cs
- precedingquery.cs
- MetaModel.cs
- EndpointDiscoveryBehavior.cs
- XmlCharType.cs
- ResourceAttributes.cs
- XsdValidatingReader.cs
- HttpHandler.cs
- EntityUtil.cs
- XmlLinkedNode.cs
- CharacterShapingProperties.cs
- ScopelessEnumAttribute.cs
- EntityDesignerBuildProvider.cs
- ParseHttpDate.cs
- WebPartDisplayModeCollection.cs
- _SslSessionsCache.cs
- CacheMemory.cs
- CodeCompiler.cs
- GPPOINTF.cs
- NameTable.cs
- ActivityStateQuery.cs
- ProcessHostMapPath.cs
- SQLMembershipProvider.cs
- RTLAwareMessageBox.cs
- RewritingValidator.cs
- SafeRsaProviderHandle.cs
- SpotLight.cs
- ContextQuery.cs
- TypeConstant.cs
- DictionarySectionHandler.cs
- MenuItemStyle.cs
- Lasso.cs
- Pair.cs
- Metadata.cs
- Storyboard.cs
- EventEntry.cs
- CheckBoxField.cs
- InplaceBitmapMetadataWriter.cs
- newinstructionaction.cs
- TextBoxAutoCompleteSourceConverter.cs
- EmbeddedMailObjectCollectionEditor.cs
- ByteStack.cs
- BadImageFormatException.cs
- SecurityException.cs
- ExpressionNormalizer.cs
- VirtualizedContainerService.cs
- ViewPort3D.cs
- TrackingServices.cs
- DataServiceHostFactory.cs
- CanExecuteRoutedEventArgs.cs
- ZipIORawDataFileBlock.cs
- AuthenticateEventArgs.cs
- TdsEnums.cs
- WebBrowser.cs
- WindowsIdentity.cs
- QueuePropertyVariants.cs