Ejemplo n.º 1
0
 /// <summary>
 /// Initializes this cache provider.
 /// </summary>
 public void Initialize(CacheProviderInitializationArgs args)
 {
     // This may seem odd, but using the ASP.NET cache outside of an ASP app
     // is perfectly ok, according to this MSDN article:
     // http://msdn.microsoft.com/en-us/library/ms978500.aspx
     _cache = HttpRuntime.Cache;
 }
Ejemplo n.º 2
0
		/// <summary>
		/// Initializes this cache provider.
		/// </summary>
		public void Initialize(CacheProviderInitializationArgs args)
		{
			// This may seem odd, but using the ASP.NET cache outside of an ASP app
			// is perfectly ok, according to this MSDN article:
			// http://msdn.microsoft.com/en-us/library/ms978500.aspx
			_cache = HttpRuntime.Cache;
		}
			public void Initialize(CacheProviderInitializationArgs args)
			{
			}
Ejemplo n.º 4
0
 public void Initialize(CacheProviderInitializationArgs args)
 {
 }