Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / Configuration / OutputCacheSettingsSection.cs / 5 / 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
- KeyValueInternalCollection.cs
- CodeCatchClauseCollection.cs
- BitmapEffectInputConnector.cs
- WindowsRichEditRange.cs
- ConfigurationSection.cs
- SqlDataRecord.cs
- CellParaClient.cs
- SqlNotificationRequest.cs
- TrackingQuery.cs
- PropertyDescriptorComparer.cs
- SqlGatherProducedAliases.cs
- CustomErrorCollection.cs
- ExceptionUtil.cs
- HttpApplication.cs
- TypeNameConverter.cs
- InternalConfigRoot.cs
- Span.cs
- xdrvalidator.cs
- StreamGeometry.cs
- BuilderInfo.cs
- WhereaboutsReader.cs
- DependencyObjectProvider.cs
- Util.cs
- SourceFileInfo.cs
- FormatConvertedBitmap.cs
- WorkflowDefinitionDispenser.cs
- StorageMappingItemLoader.cs
- StylusShape.cs
- DataGridViewImageColumn.cs
- NetCodeGroup.cs
- PeerNameRecord.cs
- SelectorAutomationPeer.cs
- XmlWellformedWriter.cs
- ComboBoxRenderer.cs
- ObjectDisposedException.cs
- TextServicesContext.cs
- CompensationDesigner.cs
- FormViewPageEventArgs.cs
- HyperLinkColumn.cs
- input.cs
- MultiPropertyDescriptorGridEntry.cs
- UserPreferenceChangingEventArgs.cs
- DynamicMethod.cs
- EventBuilder.cs
- RoleBoolean.cs
- UInt16.cs
- XmlSequenceWriter.cs
- ListControl.cs
- MulticastNotSupportedException.cs
- CustomAttributeBuilder.cs
- DbExpressionVisitor_TResultType.cs
- AutomationPatternInfo.cs
- StorageMappingFragment.cs
- XslNumber.cs
- StrokeNodeOperations.cs
- SecurityRuntime.cs
- NullableFloatSumAggregationOperator.cs
- Gdiplus.cs
- MatchingStyle.cs
- HwndSourceKeyboardInputSite.cs
- DeploymentSectionCache.cs
- ByteStorage.cs
- WebPartDisplayModeCollection.cs
- HttpCapabilitiesEvaluator.cs
- SamlAuthorizationDecisionClaimResource.cs
- IndentTextWriter.cs
- AdapterUtil.cs
- SizeKeyFrameCollection.cs
- InternalCache.cs
- WindowsEditBoxRange.cs
- Vector3DKeyFrameCollection.cs
- Token.cs
- CacheSection.cs
- ImageButton.cs
- NamedPipeDuplicateContext.cs
- SimpleMailWebEventProvider.cs
- ExpandCollapseProviderWrapper.cs
- LogicalCallContext.cs
- DataBinding.cs
- XmlLangPropertyAttribute.cs
- CodeArgumentReferenceExpression.cs
- UnsafeNativeMethods.cs
- ZipIOExtraFieldZip64Element.cs
- ModuleConfigurationInfo.cs
- TabRenderer.cs
- ScrollData.cs
- MDIWindowDialog.cs
- DataGridPageChangedEventArgs.cs
- FixedTextView.cs
- SchemaTypeEmitter.cs
- DbProviderManifest.cs
- CompiledXpathExpr.cs
- XmlSchemaComplexContent.cs
- PaintValueEventArgs.cs
- Substitution.cs
- XsdDataContractImporter.cs
- NavigationHelper.cs
- GenericUriParser.cs
- ArraySegment.cs
- SelectionPatternIdentifiers.cs