Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- BrowsableAttribute.cs
- UnsafeNativeMethodsMilCoreApi.cs
- Utilities.cs
- PersonalizableAttribute.cs
- FileDataSourceCache.cs
- RegexCode.cs
- XmlEnumAttribute.cs
- ToolStripItemImageRenderEventArgs.cs
- Unit.cs
- SqlBulkCopy.cs
- DataPager.cs
- ResourceAttributes.cs
- ObjectListFieldsPage.cs
- TextSimpleMarkerProperties.cs
- XmlChildNodes.cs
- SR.cs
- XmlSignificantWhitespace.cs
- listitem.cs
- Image.cs
- BindingManagerDataErrorEventArgs.cs
- MessageContractAttribute.cs
- DataRelation.cs
- RouteItem.cs
- SpeechAudioFormatInfo.cs
- SupportingTokenSpecification.cs
- DocumentsTrace.cs
- ScriptRef.cs
- GenericTextProperties.cs
- ThicknessAnimationBase.cs
- TypeElementCollection.cs
- StorageEntityTypeMapping.cs
- ConsoleKeyInfo.cs
- wgx_commands.cs
- EncryptedKeyHashIdentifierClause.cs
- TextSelection.cs
- WebPageTraceListener.cs
- DataGridViewTopRowAccessibleObject.cs
- TypedTableHandler.cs
- SecurityRequiresReviewAttribute.cs
- DefaultHttpHandler.cs
- OpenTypeLayout.cs
- ForEachAction.cs
- UnaryQueryOperator.cs
- MachinePropertyVariants.cs
- arclist.cs
- EntityAdapter.cs
- OracleDataAdapter.cs
- HwndHostAutomationPeer.cs
- ClickablePoint.cs
- Vector3D.cs
- smtpconnection.cs
- SystemIPv6InterfaceProperties.cs
- OleDbDataReader.cs
- WebPartDisplayModeEventArgs.cs
- XmlSerializer.cs
- ColumnCollection.cs
- PersonalizationState.cs
- ToolStripSystemRenderer.cs
- SchemaMapping.cs
- ProfileSettingsCollection.cs
- ServicePoint.cs
- BitArray.cs
- CharacterMetricsDictionary.cs
- CuspData.cs
- XmlAttributeAttribute.cs
- SharedPersonalizationStateInfo.cs
- TableCell.cs
- SingleQueryOperator.cs
- LinkLabelLinkClickedEvent.cs
- TextElementAutomationPeer.cs
- DesignerTransaction.cs
- CodeTypeParameterCollection.cs
- _CookieModule.cs
- FieldReference.cs
- RelatedPropertyManager.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- SmtpMail.cs
- TimeoutException.cs
- FastPropertyAccessor.cs
- ResourceWriter.cs
- DBAsyncResult.cs
- PeerSecurityManager.cs
- CodeIdentifier.cs
- PeerHelpers.cs
- DataControlButton.cs
- WindowsFormsHostPropertyMap.cs
- ToolStripGripRenderEventArgs.cs
- ToolStripRenderer.cs
- WebException.cs
- Main.cs
- HandlerFactoryCache.cs
- ArraySubsetEnumerator.cs
- TextServicesManager.cs
- WindowsListViewGroupHelper.cs
- CodeGroup.cs
- ActivityCodeDomReferenceService.cs
- XPathDescendantIterator.cs
- ScrollChrome.cs
- XmlILTrace.cs
- PageTextBox.cs