HttpCachePolicyWrapper.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / ndp / fx / src / xsp / System / Web / Extensions / ui / HttpCachePolicyWrapper.cs / 1 / HttpCachePolicyWrapper.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

using System; 
using System.Diagnostics; 
using System.Web;
 
namespace System.Web.UI {
    internal sealed class HttpCachePolicyWrapper : IHttpCachePolicy {
        private HttpCachePolicy _httpCachePolicy;
 
        public HttpCachePolicyWrapper(HttpCachePolicy httpCachePolicy) {
            Debug.Assert(httpCachePolicy != null); 
            _httpCachePolicy = httpCachePolicy; 
        }
 
        #region IHttpCachePolicy Members
        void IHttpCachePolicy.SetNoServerCaching() {
            _httpCachePolicy.SetNoServerCaching();
        } 
        #endregion
    } 
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK