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
- FormsAuthenticationTicket.cs
- Predicate.cs
- AttributeCollection.cs
- RowToParametersTransformer.cs
- CorrelationKeyCalculator.cs
- ChannelDemuxer.cs
- LogicalTreeHelper.cs
- ElementMarkupObject.cs
- _CookieModule.cs
- BitmapScalingModeValidation.cs
- OracleCommand.cs
- BuildProvidersCompiler.cs
- DirectionalLight.cs
- ColumnMapCopier.cs
- Vector3DKeyFrameCollection.cs
- ControlAdapter.cs
- BitmapDownload.cs
- ButtonRenderer.cs
- ExpressionNormalizer.cs
- MouseActionValueSerializer.cs
- MailDefinition.cs
- ModelUIElement3D.cs
- CatalogPart.cs
- HttpInputStream.cs
- XsltArgumentList.cs
- BamlWriter.cs
- X509RecipientCertificateClientElement.cs
- DeflateStreamAsyncResult.cs
- TemplateControlBuildProvider.cs
- SequentialWorkflowHeaderFooter.cs
- StringExpressionSet.cs
- ScriptReferenceBase.cs
- TextSelectionHighlightLayer.cs
- HttpClientCertificate.cs
- ColumnPropertiesGroup.cs
- streamingZipPartStream.cs
- InvalidWMPVersionException.cs
- ProxyWebPartConnectionCollection.cs
- SynchronizationHandlesCodeDomSerializer.cs
- NativeMethods.cs
- TraceHandlerErrorFormatter.cs
- MailHeaderInfo.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- PingReply.cs
- EnumConverter.cs
- FontDriver.cs
- SspiSafeHandles.cs
- HttpServerChannel.cs
- HashCodeCombiner.cs
- ExpressionBuilderContext.cs
- Geometry3D.cs
- HtmlGenericControl.cs
- XmlImplementation.cs
- SafeLocalMemHandle.cs
- TPLETWProvider.cs
- TimelineGroup.cs
- DataService.cs
- IncomingWebResponseContext.cs
- MsmqTransportReceiveParameters.cs
- _IPv4Address.cs
- HtmlAnchor.cs
- ConfigurationElementCollection.cs
- ScriptIgnoreAttribute.cs
- TextEditorThreadLocalStore.cs
- StatusBarPanelClickEvent.cs
- InternalControlCollection.cs
- NumericUpDown.cs
- AppDomainResourcePerfCounters.cs
- Scripts.cs
- WbemException.cs
- ScrollBarRenderer.cs
- DirectionalLight.cs
- CodeIndexerExpression.cs
- StorageMappingItemLoader.cs
- StaticResourceExtension.cs
- SingleStorage.cs
- DateTimePickerDesigner.cs
- SendActivityDesignerTheme.cs
- SqlServices.cs
- BufferedReadStream.cs
- FixedFindEngine.cs
- TypedElement.cs
- PeerCollaborationPermission.cs
- BuildResult.cs
- SignatureToken.cs
- SqlCacheDependencySection.cs
- InvokeProviderWrapper.cs
- ErrorFormatterPage.cs
- DataColumnMappingCollection.cs
- DataServiceHostFactory.cs
- Lease.cs
- PathSegmentCollection.cs
- TheQuery.cs
- IDReferencePropertyAttribute.cs
- DataGridViewCell.cs
- Size3D.cs
- ReceiveActivityDesignerTheme.cs
- TreeView.cs
- WebEventCodes.cs
- PropertyDescriptorCollection.cs