forked from dotnet/systemweb-adapters
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHttpCachePolicyBase.cs
28 lines (19 loc) · 1.37 KB
/
HttpCachePolicyBase.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics.CodeAnalysis;
namespace System.Web;
public class HttpCachePolicyBase
{
[SuppressMessage("Design", "CA1065:Do not raise exceptions in unexpected locations", Justification = Constants.ApiFromAspNet)]
public virtual HttpCacheVaryByHeaders VaryByHeaders => throw new NotImplementedException();
public virtual void SetCacheability(HttpCacheability cacheability) => throw new NotImplementedException();
public virtual void SetCacheability(HttpCacheability cacheability, string field) => throw new NotImplementedException();
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Date",
Justification = "Matches HttpCachePolicy class")]
public virtual void SetLastModified(DateTime date) => throw new NotImplementedException();
public virtual void SetMaxAge(TimeSpan delta) => throw new NotImplementedException();
[SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId = "Date",
Justification = "Matches HttpCachePolicy class")]
public virtual void SetExpires(DateTime date) => throw new NotImplementedException();
public virtual void SetOmitVaryStar(bool omit) => throw new NotImplementedException();
}