scripts
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
|
||||
namespace System.Net.Cache
|
||||
{
|
||||
/// <summary>Defines an application's caching requirements for resources obtained by using <see cref="T:System.Net.WebRequest" /> objects.</summary>
|
||||
// Token: 0x02000134 RID: 308
|
||||
public class RequestCachePolicy
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Cache.RequestCachePolicy" /> class. </summary>
|
||||
// Token: 0x06000A7E RID: 2686 RVA: 0x0001DA44 File Offset: 0x0001BC44
|
||||
public RequestCachePolicy()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Net.Cache.RequestCachePolicy" /> class. using the specified cache policy.</summary>
|
||||
/// <param name="level">A <see cref="T:System.Net.Cache.RequestCacheLevel" /> that specifies the cache behavior for resources obtained using <see cref="T:System.Net.WebRequest" /> objects. </param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">level is not a valid <see cref="T:System.Net.Cache.RequestCacheLevel" />.value.</exception>
|
||||
// Token: 0x06000A7F RID: 2687 RVA: 0x0001DA4C File Offset: 0x0001BC4C
|
||||
public RequestCachePolicy(RequestCacheLevel level)
|
||||
{
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Net.Cache.RequestCacheLevel" /> value specified when this instance was constructed.</summary>
|
||||
/// <returns>A <see cref="T:System.Net.Cache.RequestCacheLevel" /> value that specifies the cache behavior for resources obtained using <see cref="T:System.Net.WebRequest" /> objects.</returns>
|
||||
// Token: 0x170002AA RID: 682
|
||||
// (get) Token: 0x06000A80 RID: 2688 RVA: 0x0001DA5C File Offset: 0x0001BC5C
|
||||
public RequestCacheLevel Level
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.level;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns a string representation of this instance.</summary>
|
||||
/// <returns>A <see cref="T:System.String" /> containing the <see cref="P:System.Net.Cache.RequestCachePolicy.Level" /> for this instance.</returns>
|
||||
// Token: 0x06000A81 RID: 2689 RVA: 0x0001DA64 File Offset: 0x0001BC64
|
||||
[global::System.MonoTODO]
|
||||
public override string ToString()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
// Token: 0x04000AF6 RID: 2806
|
||||
private RequestCacheLevel level;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user