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 / SystemWebCachingSectionGroup.cs / 1 / SystemWebCachingSectionGroup.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.Configuration {
using System.Configuration;
using System.Security.Permissions;
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class SystemWebCachingSectionGroup : ConfigurationSectionGroup {
public SystemWebCachingSectionGroup() {
}
[ConfigurationProperty("cache")]
public CacheSection Cache
{
get
{
return (CacheSection) Sections["cache"];
}
}
[ConfigurationProperty("outputCache")]
public OutputCacheSection OutputCache
{
get
{
return (OutputCacheSection) Sections["outputCache"];
}
}
[ConfigurationProperty("outputCacheSettings")]
public OutputCacheSettingsSection OutputCacheSettings
{
get
{
return (OutputCacheSettingsSection) Sections["outputCacheSettings"];
}
}
[ConfigurationProperty("sqlCacheDependency")]
public SqlCacheDependencySection SqlCacheDependency
{
get
{
return (SqlCacheDependencySection) Sections["sqlCacheDependency"];
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Web.Configuration {
using System.Configuration;
using System.Security.Permissions;
[AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)]
public sealed class SystemWebCachingSectionGroup : ConfigurationSectionGroup {
public SystemWebCachingSectionGroup() {
}
[ConfigurationProperty("cache")]
public CacheSection Cache
{
get
{
return (CacheSection) Sections["cache"];
}
}
[ConfigurationProperty("outputCache")]
public OutputCacheSection OutputCache
{
get
{
return (OutputCacheSection) Sections["outputCache"];
}
}
[ConfigurationProperty("outputCacheSettings")]
public OutputCacheSettingsSection OutputCacheSettings
{
get
{
return (OutputCacheSettingsSection) Sections["outputCacheSettings"];
}
}
[ConfigurationProperty("sqlCacheDependency")]
public SqlCacheDependencySection SqlCacheDependency
{
get
{
return (SqlCacheDependencySection) Sections["sqlCacheDependency"];
}
}
}
}
// 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
- WriteFileContext.cs
- ToggleButton.cs
- DecoderFallbackWithFailureFlag.cs
- CodeNamespaceImportCollection.cs
- DeploymentExceptionMapper.cs
- ServiceBehaviorElement.cs
- StyleCollection.cs
- ByteAnimationUsingKeyFrames.cs
- OutputCacheSettings.cs
- HttpConfigurationContext.cs
- ClientOptions.cs
- MetadataException.cs
- TouchFrameEventArgs.cs
- ToolboxBitmapAttribute.cs
- DBCSCodePageEncoding.cs
- MatrixIndependentAnimationStorage.cs
- LockCookie.cs
- SessionStateContainer.cs
- ZipIOModeEnforcingStream.cs
- ValueUtilsSmi.cs
- BamlTreeMap.cs
- ObjRef.cs
- ToolStripButton.cs
- ControlCachePolicy.cs
- NonBatchDirectoryCompiler.cs
- RadioButton.cs
- Size3DValueSerializer.cs
- SymmetricSecurityProtocol.cs
- Event.cs
- ReaderOutput.cs
- SByteStorage.cs
- XmlNamedNodeMap.cs
- ColumnResizeUndoUnit.cs
- ProviderConnectionPoint.cs
- _NTAuthentication.cs
- StagingAreaInputItem.cs
- X509WindowsSecurityToken.cs
- TypeBrowser.xaml.cs
- XmlTypeMapping.cs
- XPathAxisIterator.cs
- SwitchLevelAttribute.cs
- columnmapkeybuilder.cs
- SplitterEvent.cs
- AuthenticationModuleElement.cs
- DecimalConverter.cs
- ZipIOExtraField.cs
- IERequestCache.cs
- SelectionPattern.cs
- PointLight.cs
- MultiSelectRootGridEntry.cs
- DictionaryBase.cs
- ScrollChrome.cs
- AtomParser.cs
- XmlNodeReader.cs
- SerialPinChanges.cs
- BufferedGraphicsContext.cs
- PowerModeChangedEventArgs.cs
- ArithmeticLiteral.cs
- SqlDeflator.cs
- InputScopeConverter.cs
- BlurBitmapEffect.cs
- ButtonBase.cs
- MenuScrollingVisibilityConverter.cs
- RSAPKCS1SignatureDeformatter.cs
- PnrpPermission.cs
- FormViewDeleteEventArgs.cs
- ObfuscateAssemblyAttribute.cs
- TimelineCollection.cs
- Exceptions.cs
- RequestNavigateEventArgs.cs
- FontStyles.cs
- ResizeGrip.cs
- InkCanvasFeedbackAdorner.cs
- Msec.cs
- KnownColorTable.cs
- PrintControllerWithStatusDialog.cs
- AliasGenerator.cs
- DataControlReference.cs
- CompilerInfo.cs
- wmiprovider.cs
- KeySpline.cs
- WebZone.cs
- Configuration.cs
- SoapElementAttribute.cs
- processwaithandle.cs
- NetTcpBinding.cs
- CompositeFontParser.cs
- InteropBitmapSource.cs
- Decoder.cs
- ProgressChangedEventArgs.cs
- DataColumnCollection.cs
- DataViewSettingCollection.cs
- GuidConverter.cs
- RegexCompiler.cs
- TypeConverterAttribute.cs
- IndependentlyAnimatedPropertyMetadata.cs
- SiteMapSection.cs
- ElementNotAvailableException.cs
- TextProperties.cs
- ProfileSettingsCollection.cs