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
- ComponentCache.cs
- SoapWriter.cs
- EntityTemplateUserControl.cs
- WebPartConnectionsCloseVerb.cs
- PublisherIdentityPermission.cs
- CheckBoxStandardAdapter.cs
- FieldCollectionEditor.cs
- DBDataPermission.cs
- DurationConverter.cs
- Globals.cs
- SoapAttributes.cs
- EdmValidator.cs
- PnrpPeerResolverBindingElement.cs
- RsaKeyIdentifierClause.cs
- HostExecutionContextManager.cs
- FrameworkObject.cs
- JournalEntryListConverter.cs
- ModulesEntry.cs
- SdlChannelSink.cs
- ActivityExecutionFilter.cs
- GenericRootAutomationPeer.cs
- MessageDirection.cs
- XmlUrlResolver.cs
- PageCopyCount.cs
- MetadataPropertyCollection.cs
- AssemblyResourceLoader.cs
- MetadataReference.cs
- NativeObjectSecurity.cs
- ReferencedAssembly.cs
- DesignerExtenders.cs
- AddInContractAttribute.cs
- SQLStringStorage.cs
- SelectionChangedEventArgs.cs
- PersianCalendar.cs
- XmlNotation.cs
- RegexNode.cs
- propertytag.cs
- WebPartManagerInternals.cs
- ViewLoader.cs
- OrderedEnumerableRowCollection.cs
- WpfMemberInvoker.cs
- ClientSettings.cs
- StringInfo.cs
- HttpResponseWrapper.cs
- MatrixTransform3D.cs
- XmlSchemaAppInfo.cs
- ProfileInfo.cs
- XmlSchemaSimpleContentExtension.cs
- DynamicRouteExpression.cs
- ConnectionsZoneDesigner.cs
- EntityDataSource.cs
- PermissionAttributes.cs
- MarginsConverter.cs
- Page.cs
- PartitionResolver.cs
- EventBuilder.cs
- _HeaderInfo.cs
- ApplicationServicesHostFactory.cs
- HostedElements.cs
- DataView.cs
- SystemEvents.cs
- UIElement3D.cs
- MemberHolder.cs
- FieldAccessException.cs
- ToolStripPanelRenderEventArgs.cs
- ErrorBehavior.cs
- EventMappingSettingsCollection.cs
- StylusTouchDevice.cs
- AnnotationAuthorChangedEventArgs.cs
- XmlObjectSerializerReadContext.cs
- GridItemPattern.cs
- WebPartsPersonalizationAuthorization.cs
- TypeConverterHelper.cs
- CopyAction.cs
- ToolTipService.cs
- DrawTreeNodeEventArgs.cs
- HtmlTitle.cs
- COM2PictureConverter.cs
- Query.cs
- ContentPosition.cs
- StringAnimationUsingKeyFrames.cs
- SyncOperationState.cs
- HtmlHistory.cs
- ProjectionQueryOptionExpression.cs
- WindowsScrollBar.cs
- PasswordBox.cs
- HttpCacheParams.cs
- ValidatingCollection.cs
- RuleSetBrowserDialog.cs
- TypeHelpers.cs
- DictationGrammar.cs
- GroupQuery.cs
- Win32Native.cs
- SchemaImporterExtensionElement.cs
- FormsAuthenticationUserCollection.cs
- ExistsInCollection.cs
- CollectionViewGroupInternal.cs
- NativeMethods.cs
- TdsRecordBufferSetter.cs
- ValidatedControlConverter.cs