Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Configuration / OutputCacheSettingsSection.cs / 3 / 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 } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PropertyChangedEventArgs.cs
- Compilation.cs
- MimeMultiPart.cs
- UseLicense.cs
- SqlDataSourceCache.cs
- ProcessModelInfo.cs
- PageVisual.cs
- ServiceBusyException.cs
- QilFunction.cs
- ModelItemDictionaryImpl.cs
- TriggerBase.cs
- CombinedGeometry.cs
- WizardForm.cs
- SystemIPGlobalStatistics.cs
- PerformanceCounterLib.cs
- Decimal.cs
- AccessKeyManager.cs
- MtomMessageEncodingBindingElement.cs
- FieldAccessException.cs
- MenuAdapter.cs
- ResourceWriter.cs
- XamlToRtfParser.cs
- PrincipalPermission.cs
- WebPartEventArgs.cs
- StartFileNameEditor.cs
- TransformBlockRequest.cs
- CapabilitiesAssignment.cs
- ServiceNameCollection.cs
- HostSecurityManager.cs
- GlobalEventManager.cs
- RectangleHotSpot.cs
- CipherData.cs
- processwaithandle.cs
- DbParameterHelper.cs
- Group.cs
- __TransparentProxy.cs
- InputGestureCollection.cs
- SecurityState.cs
- LayoutEvent.cs
- ChineseLunisolarCalendar.cs
- KeyValuePair.cs
- SafeLocalMemHandle.cs
- PublishLicense.cs
- ParamArrayAttribute.cs
- SqlMetaData.cs
- KnownTypeDataContractResolver.cs
- PropertyManager.cs
- KnownTypeHelper.cs
- ElementFactory.cs
- ProcessRequestArgs.cs
- ContentFilePart.cs
- EmptyStringExpandableObjectConverter.cs
- LocationSectionRecord.cs
- OraclePermission.cs
- ChannelServices.cs
- BaseCodePageEncoding.cs
- CompoundFileStreamReference.cs
- _NegoState.cs
- RequestCacheManager.cs
- ExpressionEditorAttribute.cs
- OracleRowUpdatingEventArgs.cs
- DataGridTemplateColumn.cs
- XmlSerializerSection.cs
- LeftCellWrapper.cs
- TextRangeProviderWrapper.cs
- XmlWrappingWriter.cs
- CapabilitiesAssignment.cs
- WaitHandle.cs
- Stylesheet.cs
- ReceiveSecurityHeaderEntry.cs
- SQLByteStorage.cs
- SerializerProvider.cs
- FileReservationCollection.cs
- Matrix3DStack.cs
- NamespaceEmitter.cs
- ItemCollection.cs
- TypeGenericEnumerableViewSchema.cs
- UpdateException.cs
- SafeRightsManagementSessionHandle.cs
- CalendarModeChangedEventArgs.cs
- Volatile.cs
- AmbientLight.cs
- AssemblyContextControlItem.cs
- IPEndPoint.cs
- AutomationElementCollection.cs
- PolyLineSegmentFigureLogic.cs
- EditingCoordinator.cs
- ColumnCollection.cs
- ProcessHostFactoryHelper.cs
- OleDbPermission.cs
- TextEmbeddedObject.cs
- AssociationType.cs
- ParentQuery.cs
- _HelperAsyncResults.cs
- ManipulationStartingEventArgs.cs
- HtmlAnchor.cs
- EntityProviderFactory.cs
- LongCountAggregationOperator.cs
- ConfigurationException.cs
- InvalidPropValue.cs