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
- StoryFragments.cs
- WebPartEditVerb.cs
- SrgsElement.cs
- TemplatedEditableDesignerRegion.cs
- EmptyQuery.cs
- DynamicEndpoint.cs
- RawAppCommandInputReport.cs
- BaseTreeIterator.cs
- EntityType.cs
- TableCellAutomationPeer.cs
- FixedSOMTextRun.cs
- CodeSnippetCompileUnit.cs
- CatalogZone.cs
- SecurityContext.cs
- PerformanceCounterPermissionAttribute.cs
- URLAttribute.cs
- StorageEndPropertyMapping.cs
- DescendantBaseQuery.cs
- SequentialUshortCollection.cs
- MILUtilities.cs
- BasePattern.cs
- _DigestClient.cs
- TypeToken.cs
- SQLDateTime.cs
- LoginName.cs
- MessageBuilder.cs
- SQLInt32.cs
- Object.cs
- OperandQuery.cs
- SetterBaseCollection.cs
- XmlUtilWriter.cs
- SafeLibraryHandle.cs
- DiscreteKeyFrames.cs
- InstanceDescriptor.cs
- XsdDuration.cs
- AuthenticateEventArgs.cs
- securitycriticaldataClass.cs
- ProviderIncompatibleException.cs
- StateBag.cs
- EFColumnProvider.cs
- SqlGenericUtil.cs
- CustomAttribute.cs
- BoundPropertyEntry.cs
- UInt16Converter.cs
- DateTimeFormatInfo.cs
- SafeNativeMethods.cs
- GroupItemAutomationPeer.cs
- ProfileModule.cs
- VectorConverter.cs
- WriteFileContext.cs
- DataSourceSelectArguments.cs
- XmlCharacterData.cs
- SystemIPInterfaceStatistics.cs
- Label.cs
- Funcletizer.cs
- ManualResetEventSlim.cs
- PersianCalendar.cs
- SequentialWorkflowRootDesigner.cs
- DynamicObject.cs
- CodeObjectCreateExpression.cs
- SSmlParser.cs
- WebPartConnectionsCloseVerb.cs
- XamlRtfConverter.cs
- TreeNodeSelectionProcessor.cs
- _StreamFramer.cs
- SqlFacetAttribute.cs
- AsynchronousChannel.cs
- Manipulation.cs
- SymbolPair.cs
- DocumentPageView.cs
- DispatcherHooks.cs
- ContentDefinition.cs
- _IPv4Address.cs
- ChannelServices.cs
- ListViewDataItem.cs
- QueryExtender.cs
- XmlMemberMapping.cs
- TypeSystem.cs
- _Semaphore.cs
- DynamicILGenerator.cs
- Enum.cs
- NumberFormatInfo.cs
- XmlBinaryReaderSession.cs
- SecurityAppliedMessage.cs
- DesignOnlyAttribute.cs
- AbandonedMutexException.cs
- ScriptManagerProxy.cs
- PolicyValidationException.cs
- SiteMapPathDesigner.cs
- SourceChangedEventArgs.cs
- BaseCodeDomTreeGenerator.cs
- EncryptedType.cs
- StandardBindingOptionalReliableSessionElement.cs
- DES.cs
- ReflectionUtil.cs
- Pair.cs
- FillRuleValidation.cs
- InfiniteTimeSpanConverter.cs
- XmlSchemaSimpleContentRestriction.cs
- RequestUriProcessor.cs