Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / Configuration / OutputCacheSettingsSection.cs / 2 / 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. //------------------------------------------------------------------------------ // // 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StrongNamePublicKeyBlob.cs
- DiagnosticsConfigurationHandler.cs
- ByteArrayHelperWithString.cs
- HttpListenerTimeoutManager.cs
- XmlSchemaRedefine.cs
- RenderData.cs
- TemplateKey.cs
- EmptyStringExpandableObjectConverter.cs
- QilGeneratorEnv.cs
- ComplexTypeEmitter.cs
- RoleManagerEventArgs.cs
- HyperLinkStyle.cs
- SwitchExpression.cs
- DataGridViewRowConverter.cs
- AnnotationDocumentPaginator.cs
- Comparer.cs
- EventLog.cs
- ExternalException.cs
- BridgeDataRecord.cs
- WindowsListBox.cs
- ObjectAnimationBase.cs
- DbLambda.cs
- AnimationStorage.cs
- SqlBuffer.cs
- FillRuleValidation.cs
- ContainerUIElement3D.cs
- _Connection.cs
- EndpointAddressElementBase.cs
- Invariant.cs
- ChangeConflicts.cs
- DataColumnMapping.cs
- InternalsVisibleToAttribute.cs
- SpeechSynthesizer.cs
- CompilationPass2Task.cs
- TiffBitmapDecoder.cs
- RelatedEnd.cs
- NumericUpDownAccelerationCollection.cs
- MergeFailedEvent.cs
- BitmapInitialize.cs
- TextTreeUndoUnit.cs
- SafeFileMapViewHandle.cs
- Queue.cs
- BrushMappingModeValidation.cs
- SettingsPropertyIsReadOnlyException.cs
- BitmapVisualManager.cs
- OleDbConnection.cs
- CollectionContainer.cs
- SerializationObjectManager.cs
- PropertyChangedEventArgs.cs
- loginstatus.cs
- TransformerConfigurationWizardBase.cs
- tooltip.cs
- BaseComponentEditor.cs
- UIElement3DAutomationPeer.cs
- ResourcePermissionBase.cs
- NetworkAddressChange.cs
- TextParagraph.cs
- HttpRawResponse.cs
- AssemblyBuilder.cs
- TemplateBindingExpressionConverter.cs
- Vector3dCollection.cs
- Transform3DCollection.cs
- EnumerableRowCollectionExtensions.cs
- CryptoHelper.cs
- Reference.cs
- cryptoapiTransform.cs
- BaseDataBoundControl.cs
- X509SubjectKeyIdentifierClause.cs
- MorphHelpers.cs
- StaticSiteMapProvider.cs
- SiteMapDataSourceView.cs
- WorkflowService.cs
- DataGridColumnHeaderAutomationPeer.cs
- DataExpression.cs
- NotImplementedException.cs
- HtmlElement.cs
- ClientScriptManagerWrapper.cs
- EventBuilder.cs
- GridViewRow.cs
- StrongNameUtility.cs
- CfgParser.cs
- FastEncoder.cs
- PipelineDeploymentState.cs
- XsdDuration.cs
- SpecialNameAttribute.cs
- FormatVersion.cs
- ADMembershipUser.cs
- RuntimeArgumentHandle.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- RunClient.cs
- XPathNodeList.cs
- InternalControlCollection.cs
- WpfWebRequestHelper.cs
- TypefaceCollection.cs
- BaseTemplateParser.cs
- JavaScriptSerializer.cs
- ClassHandlersStore.cs
- WebPartPersonalization.cs
- DisableDpiAwarenessAttribute.cs
- ColumnWidthChangingEvent.cs