1 type derived from ResourceExecutedContext
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ResourceInvoker.cs (1)
1588
private sealed class ResourceExecutedContextSealed :
ResourceExecutedContext
4 instantiations of ResourceExecutedContext
Microsoft.AspNetCore.Mvc.Core.Test (4)
Filters\MiddlewareFilterBuilderTest.cs (3)
132
var context = new
ResourceExecutedContext
(actionContext, new List<IFilterMetadata>())
195
var context = new
ResourceExecutedContext
(actionContext, new List<IFilterMetadata>())
263
var context = new
ResourceExecutedContext
(actionContext, new List<IFilterMetadata>())
Filters\MiddlewareFilterTest.cs (1)
228
() => Task.FromResult(new
ResourceExecutedContext
(new ActionContext(), new List<IFilterMetadata>())));
65 references to ResourceExecutedContext
ApiExplorerWebSite (1)
ApiExplorerDataFilter.cs (1)
49
public void OnResourceExecuted(
ResourceExecutedContext
context)
BasicWebSite (1)
Filters\TraceResourceFilter.cs (1)
10
public void OnResourceExecuted(
ResourceExecutedContext
context)
Microsoft.AspNetCore.Mvc.Abstractions (6)
Filters\IResourceFilter.cs (2)
21
/// <param name="context">The <see cref="
ResourceExecutedContext
"/>.</param>
22
void OnResourceExecuted(
ResourceExecutedContext
context);
Filters\ResourceExecutedContext.cs (1)
17
/// Creates a new <see cref="
ResourceExecutedContext
"/>.
Filters\ResourceExecutionDelegate.cs (3)
7
/// A delegate that asynchronously returns a <see cref="
ResourceExecutedContext
"/> indicating model binding, the
10
/// <returns>A <see cref="Task"/> that on completion returns a <see cref="
ResourceExecutedContext
"/>.</returns>
11
public delegate Task<
ResourceExecutedContext
> ResourceExecutionDelegate();
Microsoft.AspNetCore.Mvc.Core (21)
ConsumesAttribute.cs (1)
143
public void OnResourceExecuted(
ResourceExecutedContext
context)
Diagnostics\MvcDiagnostics.cs (8)
282
public AfterResourceFilterOnResourceExecutionEventData(ActionDescriptor actionDescriptor,
ResourceExecutedContext
resourceExecutedContext, IFilterMetadata filter)
297
public
ResourceExecutedContext
ResourceExecutedContext { get; }
420
/// An <see cref="EventData"/> that occurs before <see cref="IResourceFilter.OnResourceExecuted(
ResourceExecutedContext
)"/>.
435
public BeforeResourceFilterOnResourceExecutedEventData(ActionDescriptor actionDescriptor,
ResourceExecutedContext
resourceExecutedContext, IFilterMetadata filter)
450
public
ResourceExecutedContext
ResourceExecutedContext { get; }
471
/// An <see cref="EventData"/> that occurs after <see cref="IResourceFilter.OnResourceExecuted(
ResourceExecutedContext
)"/>.
486
public AfterResourceFilterOnResourceExecutedEventData(ActionDescriptor actionDescriptor,
ResourceExecutedContext
resourceExecutedContext, IFilterMetadata filter)
501
public
ResourceExecutedContext
ResourceExecutedContext { get; }
Filters\MiddlewareFilterBuilder.cs (1)
68
var
resourceExecutedContext = await resourceExecutionDelegate();
Formatters\FormatFilter.cs (1)
124
public void OnResourceExecuted(
ResourceExecutedContext
context)
Infrastructure\ResourceInvoker.cs (4)
906
private Task<
ResourceExecutedContext
> InvokeNextResourceFilterAwaitedAsync()
923
return Task.FromResult<
ResourceExecutedContext
>(_resourceExecutedContext);
925
static async Task<
ResourceExecutedContext
> Awaited(ResourceInvoker invoker, Task task)
933
static async Task<
ResourceExecutedContext
> Throw()
MvcCoreDiagnosticListenerExtensions.cs (6)
228
ResourceExecutedContext
resourceExecutedContext,
242
private static void AfterOnResourceExecutionImpl(DiagnosticListener diagnosticListener,
ResourceExecutedContext
resourceExecutedContext, IAsyncResourceFilter filter)
318
ResourceExecutedContext
resourceExecutedContext,
332
private static void BeforeOnResourceExecutedImpl(DiagnosticListener diagnosticListener,
ResourceExecutedContext
resourceExecutedContext, IResourceFilter filter)
348
ResourceExecutedContext
resourceExecutedContext,
362
private static void AfterOnResourceExecutedImpl(DiagnosticListener diagnosticListener,
ResourceExecutedContext
resourceExecutedContext, IResourceFilter filter)
Microsoft.AspNetCore.Mvc.Core.Test (11)
Filters\MiddlewareFilterBuilderTest.cs (3)
132
var
context = new ResourceExecutedContext(actionContext, new List<IFilterMetadata>())
195
var
context = new ResourceExecutedContext(actionContext, new List<IFilterMetadata>())
263
var
context = new ResourceExecutedContext(actionContext, new List<IFilterMetadata>())
Filters\MiddlewareFilterTest.cs (4)
76
var
resourceExecutedContext = resourceFilter1.ResourceExecutedContext;
124
var
resourceExecutedContext = resourceFilter1.ResourceExecutedContext;
210
var
resourceExecutedContext = resourceFilter1.ResourceExecutedContext;
475
public
ResourceExecutedContext
ResourceExecutedContext { get; private set; }
Infrastructure\ControllerActionInvokerTest.cs (4)
695
ResourceExecutedContext
context = null;
732
ResourceExecutedContext
context = null;
771
ResourceExecutedContext
context = null;
813
var
context = await next();
Microsoft.AspNetCore.Mvc.Core.TestCommon (18)
CommonResourceInvokerTest.cs (18)
1191
.Setup(f => f.OnResourceExecuted(It.IsAny<
ResourceExecutedContext
>()))
1201
f => f.OnResourceExecuted(It.IsAny<
ResourceExecutedContext
>()),
1204
f => f.OnResourceExecuted(It.IsAny<
ResourceExecutedContext
>()),
1213
ResourceExecutedContext
context = null;
1242
ResourceExecutedContext
context = null;
1281
ResourceExecutedContext
context = null;
1316
ResourceExecutedContext
context = null;
1347
ResourceExecutedContext
context = null;
1384
ResourceExecutedContext
context = null;
1416
ResourceExecutedContext
context = null;
1452
ResourceExecutedContext
context = null;
1488
ResourceExecutedContext
context = null;
1500
.Setup(f => f.OnResourceExecuted(It.IsAny<
ResourceExecutedContext
>()))
1501
.Callback<
ResourceExecutedContext
>((c) =>
1528
ResourceExecutedContext
context = null;
1577
ResourceExecutedContext
context = null;
1630
ResourceExecutedContext
context = null;
1679
ResourceExecutedContext
context = null;
Microsoft.AspNetCore.Mvc.RazorPages.Test (4)
Infrastructure\PageActionInvokerTest.cs (4)
1223
ResourceExecutedContext
context = null;
1261
ResourceExecutedContext
context = null;
1301
ResourceExecutedContext
context = null;
1343
var
context = await next();
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Filters\SaveTempDataFilter.cs (1)
78
public void OnResourceExecuted(
ResourceExecutedContext
context)
SkipStatusCodePagesAttribute.cs (1)
17
public void OnResourceExecuted(
ResourceExecutedContext
context)
RazorPagesWebSite (1)
Pages\Filters\TestPageModelFilter.cs (1)
10
public void OnResourceExecuted(
ResourceExecutedContext
context)