Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / Abstractions / HttpCachePolicyWrapper.cs / 1305376 / HttpCachePolicyWrapper.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web { using System.Runtime.CompilerServices; [TypeForwardedFrom("System.Web.Abstractions, Version=3.5.0.0, Culture=Neutral, PublicKeyToken=31bf3856ad364e35")] public class HttpCachePolicyWrapper : HttpCachePolicyBase { private HttpCachePolicy _httpCachePolicy; public HttpCachePolicyWrapper(HttpCachePolicy httpCachePolicy) { if (httpCachePolicy == null) { throw new ArgumentNullException("httpCachePolicy"); } _httpCachePolicy = httpCachePolicy; } public override HttpCacheVaryByContentEncodings VaryByContentEncodings { get { return _httpCachePolicy.VaryByContentEncodings; } } public override HttpCacheVaryByHeaders VaryByHeaders { get { return _httpCachePolicy.VaryByHeaders; } } public override HttpCacheVaryByParams VaryByParams { get { return _httpCachePolicy.VaryByParams; } } public override void AddValidationCallback(HttpCacheValidateHandler handler, object data) { _httpCachePolicy.AddValidationCallback(handler, data); } public override void AppendCacheExtension(string extension) { _httpCachePolicy.AppendCacheExtension(extension); } public override void SetAllowResponseInBrowserHistory(bool allow) { _httpCachePolicy.SetAllowResponseInBrowserHistory(allow); } public override void SetCacheability(HttpCacheability cacheability) { _httpCachePolicy.SetCacheability(cacheability); } public override void SetCacheability(HttpCacheability cacheability, string field) { _httpCachePolicy.SetCacheability(cacheability, field); } public override void SetETag(string etag) { _httpCachePolicy.SetETag(etag); } public override void SetETagFromFileDependencies() { _httpCachePolicy.SetETagFromFileDependencies(); } public override void SetExpires(DateTime date) { _httpCachePolicy.SetExpires(date); } public override void SetLastModified(DateTime date) { _httpCachePolicy.SetLastModified(date); } public override void SetLastModifiedFromFileDependencies() { _httpCachePolicy.SetLastModifiedFromFileDependencies(); } public override void SetMaxAge(TimeSpan delta) { _httpCachePolicy.SetMaxAge(delta); } public override void SetNoServerCaching() { _httpCachePolicy.SetNoServerCaching(); } public override void SetNoStore() { _httpCachePolicy.SetNoStore(); } public override void SetNoTransforms() { _httpCachePolicy.SetNoTransforms(); } public override void SetOmitVaryStar(bool omit) { _httpCachePolicy.SetOmitVaryStar(omit); } public override void SetProxyMaxAge(TimeSpan delta) { _httpCachePolicy.SetProxyMaxAge(delta); } public override void SetRevalidation(HttpCacheRevalidation revalidation) { _httpCachePolicy.SetRevalidation(revalidation); } public override void SetSlidingExpiration(bool slide) { _httpCachePolicy.SetSlidingExpiration(slide); } public override void SetValidUntilExpires(bool validUntilExpires) { _httpCachePolicy.SetValidUntilExpires(validUntilExpires); } public override void SetVaryByCustom(string custom) { _httpCachePolicy.SetVaryByCustom(custom); } } } // 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
- Odbc32.cs
- ProcessModelInfo.cs
- DataExpression.cs
- wgx_exports.cs
- ParserStack.cs
- ScriptMethodAttribute.cs
- Popup.cs
- milexports.cs
- Resources.Designer.cs
- PreservationFileReader.cs
- DataServiceResponse.cs
- XmlBoundElement.cs
- BinaryObjectWriter.cs
- CompilerInfo.cs
- SqlDataReader.cs
- CacheMemory.cs
- XmlILOptimizerVisitor.cs
- connectionpool.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- TrackingProfileSerializer.cs
- AxHost.cs
- ConfigXmlAttribute.cs
- DigitShape.cs
- VisualBasicHelper.cs
- TextPatternIdentifiers.cs
- DesignTimeVisibleAttribute.cs
- ConnectionManagementElement.cs
- WinFormsUtils.cs
- ManifestResourceInfo.cs
- ReferentialConstraintRoleElement.cs
- Variant.cs
- PersistChildrenAttribute.cs
- FacetValues.cs
- DbConnectionClosed.cs
- Normalization.cs
- ClientCultureInfo.cs
- ListSortDescription.cs
- SecurityDocument.cs
- BasicExpressionVisitor.cs
- GenericPrincipal.cs
- ListBoxAutomationPeer.cs
- CompilerWrapper.cs
- WebServiceErrorEvent.cs
- TimeSpanHelper.cs
- ProfileSettings.cs
- CompiledIdentityConstraint.cs
- Pair.cs
- BindStream.cs
- XmlTypeAttribute.cs
- ConnectorDragDropGlyph.cs
- Viewport2DVisual3D.cs
- DBConnectionString.cs
- FileDialog_Vista_Interop.cs
- RSAPKCS1KeyExchangeFormatter.cs
- LongCountAggregationOperator.cs
- DataGridDesigner.cs
- EditorPartChrome.cs
- EdmType.cs
- EntityDataSourceChangedEventArgs.cs
- ProcessStartInfo.cs
- SafeProcessHandle.cs
- EndpointDiscoveryMetadata11.cs
- ComponentChangingEvent.cs
- RelativeSource.cs
- TextSelection.cs
- TransformProviderWrapper.cs
- SwitchCase.cs
- StaticFileHandler.cs
- Label.cs
- WebPartVerb.cs
- UriScheme.cs
- PagedDataSource.cs
- WizardDesigner.cs
- InstanceData.cs
- ResourceAttributes.cs
- CodeAssignStatement.cs
- EventMemberCodeDomSerializer.cs
- WindowsFormsHostPropertyMap.cs
- InvalidComObjectException.cs
- PasswordTextNavigator.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- GroupStyle.cs
- SignatureDescription.cs
- LogExtent.cs
- EditingMode.cs
- ConditionalWeakTable.cs
- MessageSecurityVersionConverter.cs
- RSAOAEPKeyExchangeFormatter.cs
- EntityDataSourceDesigner.cs
- SchemaNotation.cs
- StreamInfo.cs
- HeaderUtility.cs
- SuppressMessageAttribute.cs
- webeventbuffer.cs
- XmlDataProvider.cs
- EntityCommand.cs
- BindingsCollection.cs
- DataControlFieldHeaderCell.cs
- DoubleAnimationBase.cs
- AttachedPropertyBrowsableForTypeAttribute.cs