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