System.Web.UI.Page.InitOutputCache C# (CSharp) Метод

InitOutputCache() приватный Метод

private InitOutputCache ( System.Web.UI.OutputCacheParameters cacheSettings ) : void
cacheSettings System.Web.UI.OutputCacheParameters
Результат void
	protected internal virtual void InitOutputCache(OutputCacheParameters cacheSettings)
	{
		if (cacheSettings.Enabled) {
			InitOutputCache(cacheSettings.Duration,
					cacheSettings.VaryByContentEncoding,
					cacheSettings.VaryByHeader,
					cacheSettings.VaryByCustom,
					cacheSettings.Location,
					cacheSettings.VaryByParam);

			HttpResponse response = Response;
			HttpCachePolicy cache = response != null ? response.Cache : null;
			if (cache != null && cacheSettings.NoStore)
				cache.SetNoStore ();
		}
	}
	

Same methods

Page::InitOutputCache ( int duration, string varyByHeader, string varyByCustom, OutputCacheLocation location, string varyByParam ) : void
Page::InitOutputCache ( int duration, string varyByContentEncoding, string varyByHeader, string varyByCustom, OutputCacheLocation location, string varyByParam ) : void
Page