mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* System.Web/HttpRuntime.cs: Cache no longer have a Dispose method. * System.Web/HttpServerUtility.cs: removed MonoTODO. * System.Web.Caching/Cache.cs: * System.Web.Caching/CacheDefinitions.cs: * System.Web.Caching/CacheDependency.cs: * System.Web.Caching/CacheEntry.cs: * System.Web.Caching/CacheExpires.cs: * System.Web.Caching/ExpiresBuckets.cs: reformatted, make class status page happier. Does not work yet (wait for the next patch). * System.Web.SessionState/HttpSessionState.cs: implemented CodePage. * System.Web.SessionState/SessionStateModule.cs: initial stuff to make it work. svn path=/trunk/mcs/; revision=12480
43 lines
1.2 KiB
C#
43 lines
1.2 KiB
C#
//
|
|
// System.Web.Caching
|
|
//
|
|
// Author:
|
|
// Patrik Torstensson ([email protected])
|
|
//
|
|
// (C) Copyright Patrik Torstensson, 2001
|
|
//
|
|
namespace System.Web.Caching
|
|
{
|
|
/// <summary>
|
|
/// Specifies the relative priority of items stored in the Cache.
|
|
/// </summary>
|
|
public enum CacheItemPriority {
|
|
Low = 1,
|
|
BelowNormal = 2,
|
|
Normal = 3,
|
|
Default = 3,
|
|
AboveNormal = 4,
|
|
High = 5,
|
|
NotRemovable
|
|
}
|
|
|
|
/// <summary>
|
|
/// Specifies the reason an item was removed from the Cache.
|
|
/// </summary>
|
|
public enum CacheItemRemovedReason {
|
|
Removed = 1,
|
|
Expired = 2,
|
|
Underused = 3,
|
|
DependencyChanged = 4
|
|
}
|
|
|
|
/// <summary>
|
|
/// Defines a callback method for notifying applications when a cached item is removed from the Cache.
|
|
/// </summary>
|
|
/// <param name="key">The index location for the item removed from the cache. </param>
|
|
/// <param name="value">The Object item removed from the cache. </param>
|
|
/// <param name="reason">The reason the item was removed from the cache, as specified by the CacheItemRemovedReason enumeration.</param>
|
|
public delegate void CacheItemRemovedCallback(string key, object value, CacheItemRemovedReason reason);
|
|
|
|
}
|