Got rid of those Internal(1) warnings
[mono.git] / mcs / class / System.Web / System.Web.Caching / CacheDefinitions.cs
1 // \r
2 // System.Web.Caching\r
3 //\r
4 // Author:\r
5 //   Patrik Torstensson (Patrik.Torstensson@labs2.com)\r
6 //\r
7 // (C) Copyright Patrik Torstensson, 2001\r
8 //\r
9 namespace System.Web.Caching\r
10 {\r
11         /// <summary>\r
12         /// Specifies the relative priority of items stored in the Cache.\r
13         /// </summary>\r
14         public enum CacheItemPriority {\r
15                 Low = 1,\r
16                 BelowNormal = 2,\r
17                 Normal = 3,\r
18                 Default = 3,\r
19                 AboveNormal = 4,\r
20                 High = 5,\r
21                 NotRemovable \r
22         }\r
23 \r
24         /// <summary>\r
25         /// Specifies the reason an item was removed from the Cache.\r
26         /// </summary>\r
27         public enum CacheItemRemovedReason {\r
28                 Removed = 1,\r
29                 Expired = 2,\r
30                 Underused = 3,\r
31                 DependencyChanged = 4\r
32         }\r
33 \r
34         /// <summary>\r
35         /// Defines a callback method for notifying applications when a cached item is removed from the Cache.\r
36         /// </summary>\r
37         /// <param name="key">The index location for the item removed from the cache. </param>\r
38         /// <param name="value">The Object item removed from the cache. </param>\r
39         /// <param name="reason">The reason the item was removed from the cache, as specified by the CacheItemRemovedReason enumeration.</param>\r
40         public delegate void CacheItemRemovedCallback(string key, object value, CacheItemRemovedReason reason);\r
41 \r
42 }\r