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
- PerfCounters.cs
- ActivityMarkupSerializer.cs
- DetailsViewPagerRow.cs
- ScrollContentPresenter.cs
- BuilderPropertyEntry.cs
- TreeIterators.cs
- XmlText.cs
- ContentPosition.cs
- ExtendedProperty.cs
- BinHexEncoder.cs
- DataObjectSettingDataEventArgs.cs
- AmbiguousMatchException.cs
- JsonGlobals.cs
- X509IssuerSerialKeyIdentifierClause.cs
- EndpointInstanceProvider.cs
- UndirectedGraph.cs
- PersistencePipeline.cs
- CacheSection.cs
- Annotation.cs
- SharedStatics.cs
- SqlXmlStorage.cs
- InkCanvasInnerCanvas.cs
- FileDetails.cs
- FixedSOMFixedBlock.cs
- ModuleBuilder.cs
- GuidTagList.cs
- ArrayList.cs
- ColumnTypeConverter.cs
- BufferedReceiveElement.cs
- BuildProviderAppliesToAttribute.cs
- OletxResourceManager.cs
- BooleanExpr.cs
- ConsoleKeyInfo.cs
- WmfPlaceableFileHeader.cs
- Misc.cs
- AutoGeneratedFieldProperties.cs
- TypedElement.cs
- IntSecurity.cs
- WebBrowserBase.cs
- SetStoryboardSpeedRatio.cs
- SelfIssuedAuthAsymmetricKey.cs
- Convert.cs
- ToolStripItemCollection.cs
- EasingQuaternionKeyFrame.cs
- ObjectViewEntityCollectionData.cs
- TreeBuilderXamlTranslator.cs
- PropertyPushdownHelper.cs
- ReferenceEqualityComparer.cs
- ManifestSignatureInformation.cs
- TableCellsCollectionEditor.cs
- BamlCollectionHolder.cs
- DrawTreeNodeEventArgs.cs
- EditableTreeList.cs
- MemberJoinTreeNode.cs
- HexParser.cs
- AsyncSerializedWorker.cs
- ColorContextHelper.cs
- TextContainer.cs
- ForEachAction.cs
- TableParagraph.cs
- SoapSchemaImporter.cs
- SystemInformation.cs
- EndEvent.cs
- ScriptRef.cs
- TreeNodeSelectionProcessor.cs
- WorkflowHostingResponseContext.cs
- EntityContainerRelationshipSetEnd.cs
- _AcceptOverlappedAsyncResult.cs
- SystemException.cs
- Byte.cs
- SpeakInfo.cs
- RegionIterator.cs
- PerformanceCounterPermission.cs
- StateRuntime.cs
- InvalidOperationException.cs
- SoapHelper.cs
- RijndaelManaged.cs
- ToolStripHighContrastRenderer.cs
- ReferentialConstraint.cs
- QilReplaceVisitor.cs
- ListBoxItemAutomationPeer.cs
- MouseButton.cs
- ClientScriptManagerWrapper.cs
- _ListenerAsyncResult.cs
- CancelEventArgs.cs
- HttpCookie.cs
- DataSourceControl.cs
- Rect3D.cs
- XhtmlBasicLiteralTextAdapter.cs
- unsafenativemethodstextservices.cs
- ContentPresenter.cs
- FieldDescriptor.cs
- TimersDescriptionAttribute.cs
- dataprotectionpermissionattribute.cs
- CodeObject.cs
- ALinqExpressionVisitor.cs
- PerformanceCounterPermissionEntry.cs
- SafeArrayTypeMismatchException.cs
- TreeView.cs
- LazyTextWriterCreator.cs