20 implementations of ServeResponseAsync
Microsoft.AspNetCore.OutputCaching (18)
Policies\CompositePolicy.cs (1)
41
async ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\DefaultPolicy.cs (1)
42
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\EmptyPolicy.cs (1)
30
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\EnableCachePolicy.cs (1)
27
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\ExpirationPolicy.cs (1)
37
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\LockingPolicy.cs (1)
43
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\NamedPolicy.cs (1)
28
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\NoLookupPolicy.cs (1)
18
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\NoStorePolicy.cs (1)
18
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\PredicatePolicy.cs (1)
40
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\SetCacheKeyPrefixPolicy.cs (1)
36
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\TagsPolicy.cs (1)
40
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\TypedPolicy.cs (1)
50
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\VaryByHeaderPolicy.cs (1)
60
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\VaryByHostPolicy.cs (1)
39
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\VaryByQueryPolicy.cs (1)
68
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\VaryByRouteValuePolicy.cs (1)
52
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Policies\VaryByValuePolicy.cs (1)
40
ValueTask IOutputCachePolicy.
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
Microsoft.AspNetCore.OutputCaching.Tests (2)
OutputCacheMiddlewareTests.cs (1)
1005
public ValueTask
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellation)
TestUtils.cs (1)
399
public ValueTask
ServeResponseAsync
(OutputCacheContext context, CancellationToken cancellationToken)
17 references to ServeResponseAsync
Microsoft.AspNetCore.OutputCaching (5)
OutputCacheMiddleware.cs (1)
170
await policy.
ServeResponseAsync
(context, httpContext.RequestAborted);
Policies\CompositePolicy.cs (1)
45
await policy.
ServeResponseAsync
(context, cancellationToken);
Policies\NamedPolicy.cs (1)
37
return policy.
ServeResponseAsync
(context, cancellationToken);
Policies\PredicatePolicy.cs (1)
42
return ExecuteAwaited(static (policy, context, cancellationToken) => policy.
ServeResponseAsync
(context, cancellationToken), _policy, context, cancellationToken);
Policies\TypedPolicy.cs (1)
52
return CreatePolicy(context)?.
ServeResponseAsync
(context, cancellationToken) ?? ValueTask.CompletedTask;
Microsoft.AspNetCore.OutputCaching.Tests (12)
OutputCachePolicyProviderTests.cs (12)
133
await policy.
ServeResponseAsync
(context, default);
151
await policy.
ServeResponseAsync
(context, default);
169
await policy.
ServeResponseAsync
(context, default);
187
await policy.
ServeResponseAsync
(context, default);
202
await policy.
ServeResponseAsync
(context, default);
215
await policy.
ServeResponseAsync
(context, default);
233
await policy.
ServeResponseAsync
(context, default);
249
await policy.
ServeResponseAsync
(context, default);
325
await policy.
ServeResponseAsync
(context, default);
343
await policy.
ServeResponseAsync
(context, default);
366
await policy.
ServeResponseAsync
(context, default);
389
await policy.
ServeResponseAsync
(context, default);