19 references to OutputCacheMethods
Microsoft.AspNetCore.OutputCaching.Tests (19)
OutputCacheAttributeTests.cs (19)
16
var attribute =
OutputCacheMethods
.GetAttribute(nameof(
OutputCacheMethods
.Default));
27
var attribute =
OutputCacheMethods
.GetAttribute(nameof(
OutputCacheMethods
.Duration));
39
var attribute =
OutputCacheMethods
.GetAttribute(nameof(
OutputCacheMethods
.NoStore));
53
var attribute =
OutputCacheMethods
.GetAttribute(nameof(
OutputCacheMethods
.PolicyName));
68
var attribute =
OutputCacheMethods
.GetAttribute(nameof(
OutputCacheMethods
.PolicyName));
81
var attribute =
OutputCacheMethods
.GetAttribute(nameof(
OutputCacheMethods
.VaryByHeaderNames));
96
var attribute =
OutputCacheMethods
.GetAttribute(nameof(
OutputCacheMethods
.VaryByQueryKeys));
115
var attribute =
OutputCacheMethods
.GetAttribute(nameof(
OutputCacheMethods
.VaryByRouteValueNames));
128
var attribute =
OutputCacheMethods
.GetAttribute(nameof(
OutputCacheMethods
.Tags));
140
return typeof(
OutputCacheMethods
).GetMethod(methodName, System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.Public).GetAttribute<OutputCacheAttribute>();