Skip to content

Commit ac173be

Browse files
committed
Mark the classes as serializable to match the inband framework
1 parent 2377781 commit ac173be

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/OutputCacheModuleAsync/CachedVary.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
namespace Microsoft.AspNet.OutputCache {
22
using System;
33

4+
[Serializable]
45
sealed class CachedVary {
56
public string[] ContentEncodings { get; set; }
67
public string[] Headers { get; set; }

src/OutputCacheModuleAsync/HttpCachePolicySettings.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using System.Web;
55
using System.Linq;
66

7+
[Serializable]
78
sealed class HttpCachePolicySettings {
89
public HttpCacheability Cacheability { get; set; }
910
public IEnumerable<KeyValuePair<HttpCacheValidateHandler, object>> ValidationCallbackInfo { get; set; }

src/OutputCacheModuleAsync/OutputCacheEntry.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.Collections;
44
using System.Collections.Specialized;
55

6+
[Serializable]
67
sealed class OutputCacheEntry {
78
public Guid CachedVaryId { get; set; }
89
public HttpCachePolicySettings Settings { get; set; }

0 commit comments

Comments
 (0)