Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
RequestCachePolicy.cs
Go to the documentation of this file.
1namespace System.Net.Cache;
2
4{
5 public RequestCacheLevel Level { get; }
6
8 {
9 Level = RequestCacheLevel.Default;
10 }
11
13 {
14 if (level < RequestCacheLevel.Default || level > RequestCacheLevel.NoCacheNoStore)
15 {
16 throw new ArgumentOutOfRangeException("level");
17 }
18 Level = level;
19 }
20
21 public override string ToString()
22 {
23 return "Level:" + Level;
24 }
25}
RequestCachePolicy(RequestCacheLevel level)