Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Configuration / OutputCacheSettingsSection.cs / 1305376 / 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; /**/ 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; /**/ 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
- WorkingDirectoryEditor.cs
- DateTimeOffsetStorage.cs
- ListBox.cs
- GenericAuthenticationEventArgs.cs
- QilStrConcat.cs
- WebResponse.cs
- _ScatterGatherBuffers.cs
- UInt16.cs
- GrowingArray.cs
- EventLogPermissionHolder.cs
- GridViewSelectEventArgs.cs
- ControlIdConverter.cs
- InputBinding.cs
- DataPointer.cs
- DataGridColumnHeadersPresenter.cs
- ProtocolsConfiguration.cs
- MemberMaps.cs
- MouseCaptureWithinProperty.cs
- TextBoxAutomationPeer.cs
- SafeUserTokenHandle.cs
- DmlSqlGenerator.cs
- EventMappingSettingsCollection.cs
- ReachSerializer.cs
- SettingsSavedEventArgs.cs
- Type.cs
- TransactionTraceIdentifier.cs
- SecurityImpersonationBehavior.cs
- GraphicsContainer.cs
- SqlStatistics.cs
- SchemaDeclBase.cs
- FormsAuthentication.cs
- EqualityComparer.cs
- Completion.cs
- OdbcDataAdapter.cs
- StylusPlugin.cs
- CapabilitiesUse.cs
- X509ServiceCertificateAuthentication.cs
- ServiceMetadataContractBehavior.cs
- SHA1Managed.cs
- DbLambda.cs
- _SslStream.cs
- ScrollViewer.cs
- DataGridViewComboBoxColumn.cs
- TemplateKey.cs
- HelloOperationCD1AsyncResult.cs
- ProfileBuildProvider.cs
- ElapsedEventArgs.cs
- DockingAttribute.cs
- X509ChainPolicy.cs
- ScrollEvent.cs
- ActivityExecutionContextCollection.cs
- HttpResponseHeader.cs
- HostDesigntimeLicenseContext.cs
- PersonalizationState.cs
- ConfigXmlAttribute.cs
- MonthChangedEventArgs.cs
- Brush.cs
- ReverseComparer.cs
- ObjectConverter.cs
- SslStreamSecurityUpgradeProvider.cs
- ValueExpressions.cs
- TextDecorationCollection.cs
- ThemeDirectoryCompiler.cs
- WebPartConnectVerb.cs
- HintTextConverter.cs
- SelectionRange.cs
- MimeAnyImporter.cs
- WorkflowHostingResponseContext.cs
- RandomNumberGenerator.cs
- ServiceDescriptionContext.cs
- DataBoundControlDesigner.cs
- SimpleLine.cs
- Opcode.cs
- JoinSymbol.cs
- WmlLiteralTextAdapter.cs
- _AcceptOverlappedAsyncResult.cs
- IncrementalCompileAnalyzer.cs
- SoapRpcMethodAttribute.cs
- SystemSounds.cs
- ObjRef.cs
- UntrustedRecipientException.cs
- SettingsPropertyValueCollection.cs
- FormsAuthenticationModule.cs
- PreservationFileReader.cs
- AssemblyName.cs
- GeometryDrawing.cs
- ISAPIApplicationHost.cs
- KnownBoxes.cs
- ShellProvider.cs
- MonikerProxyAttribute.cs
- LoggedException.cs
- CodeParameterDeclarationExpressionCollection.cs
- EntityContainerEmitter.cs
- KnownTypes.cs
- SimpleBitVector32.cs
- FlowDocumentPaginator.cs
- MulticastNotSupportedException.cs
- ThreadExceptionDialog.cs
- XmlSortKey.cs
- CodeDomSerializationProvider.cs