8 references to Tags
Microsoft.AspNetCore.OutputCaching (2)
OutputCacheMiddleware.cs (1)
442
await OutputCacheEntryFormatter.StoreAsync(context.CacheKey, context.CachedResponse, context.
Tags
, context.CachedResponseValidFor,
Policies\TagsPolicy.cs (1)
27
context.
Tags
.Add(tag);
Microsoft.AspNetCore.OutputCaching.Tests (6)
OutputCacheAttributeTests.cs (2)
132
Assert.Contains("Tag1", (IEnumerable<string>)context.
Tags
);
133
Assert.Contains("Tag2", (IEnumerable<string>)context.
Tags
);
OutputCachePoliciesTests.cs (2)
178
Assert.Contains("tag1", context.
Tags
);
179
Assert.Contains("tag2", context.
Tags
);
OutputCachePolicyBuilderTests.cs (2)
246
Assert.Contains("tag1", context.
Tags
);
247
Assert.Contains("tag2", context.
Tags
);