12 instantiations of ActionDescriptorProviderContext
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\DefaultActionDescriptorCollectionProvider.cs (1)
120var context = new ActionDescriptorProviderContext();
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (1)
1292var context = new ActionDescriptorProviderContext();
ApplicationModels\EndpointMetadataProviderTest.cs (1)
248var actionDescriptorProviderContext = new ActionDescriptorProviderContext();
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\CompiledPageActionDescriptorProvider.cs (1)
50var newContext = new ActionDescriptorProviderContext();
Microsoft.AspNetCore.Mvc.RazorPages.Test (8)
Infrastructure\PageActionDescriptorProviderTest.cs (8)
23var context = new ActionDescriptorProviderContext(); 54var context = new ActionDescriptorProviderContext(); 93var context = new ActionDescriptorProviderContext(); 143var context = new ActionDescriptorProviderContext(); 189var context = new ActionDescriptorProviderContext(); 223var context = new ActionDescriptorProviderContext(); 277var context = new ActionDescriptorProviderContext(); 321var context = new ActionDescriptorProviderContext();
39 references to ActionDescriptorProviderContext
BasicWebSite (2)
ActionDescriptorCreationCounter.cs (2)
30public void OnProvidersExecuting(ActionDescriptorProviderContext context) 34public void OnProvidersExecuted(ActionDescriptorProviderContext context)
Microsoft.AspNetCore.Mvc.Abstractions (7)
Abstractions\IActionDescriptorProvider.cs (7)
19/// an opportunity to add or modify <see cref="ActionDescriptorProviderContext.Results"/>. 51/// <see cref="Order"/> for details on the order of execution of <see cref="OnProvidersExecuting(ActionDescriptorProviderContext)"/>. 53/// <param name="context">The <see cref="ActionDescriptorProviderContext"/>.</param> 54void OnProvidersExecuting(ActionDescriptorProviderContext context); 59/// <see cref="Order"/> for details on the order of execution of <see cref="OnProvidersExecuted(ActionDescriptorProviderContext)"/>. 61/// <param name="context">The <see cref="ActionDescriptorProviderContext"/>.</param> 62void OnProvidersExecuted(ActionDescriptorProviderContext context);
Microsoft.AspNetCore.Mvc.Core (3)
ApplicationModels\ControllerActionDescriptorProvider.cs (2)
30public void OnProvidersExecuting(ActionDescriptorProviderContext context) 41public void OnProvidersExecuted(ActionDescriptorProviderContext context)
Infrastructure\DefaultActionDescriptorCollectionProvider.cs (1)
120var context = new ActionDescriptorProviderContext();
Microsoft.AspNetCore.Mvc.Core.Test (10)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (1)
1292var context = new ActionDescriptorProviderContext();
ApplicationModels\EndpointMetadataProviderTest.cs (1)
248var actionDescriptorProviderContext = new ActionDescriptorProviderContext();
Infrastructure\DefaultActionDescriptorCollectionProviderTest.cs (5)
64.Verify(v => v.OnProvidersExecuting(It.IsAny<ActionDescriptorProviderContext>()), Times.Once()); 78.Setup(p => p.OnProvidersExecuting(It.IsAny<ActionDescriptorProviderContext>())) 79.Callback((ActionDescriptorProviderContext context) => 162.Setup(p => p.OnProvidersExecuting(It.IsAny<ActionDescriptorProviderContext>())) 163.Callback((ActionDescriptorProviderContext context) =>
Routing\KnownRouteValueConstraintTests.cs (3)
280.Setup(p => p.OnProvidersExecuting(It.IsAny<ActionDescriptorProviderContext>())) 281.Callback<ActionDescriptorProviderContext>(c => c.Results.Add(actionDescriptor)); 284.Setup(p => p.OnProvidersExecuted(It.IsAny<ActionDescriptorProviderContext>()))
Microsoft.AspNetCore.Mvc.RazorPages (5)
Infrastructure\CompiledPageActionDescriptorProvider.cs (3)
48public void OnProvidersExecuting(ActionDescriptorProviderContext context) 50var newContext = new ActionDescriptorProviderContext(); 82public void OnProvidersExecuted(ActionDescriptorProviderContext context)
Infrastructure\PageActionDescriptorProvider.cs (2)
45public void OnProvidersExecuting(ActionDescriptorProviderContext context) 77public void OnProvidersExecuted(ActionDescriptorProviderContext context)
Microsoft.AspNetCore.Mvc.RazorPages.Test (8)
Infrastructure\PageActionDescriptorProviderTest.cs (8)
23var context = new ActionDescriptorProviderContext(); 54var context = new ActionDescriptorProviderContext(); 93var context = new ActionDescriptorProviderContext(); 143var context = new ActionDescriptorProviderContext(); 189var context = new ActionDescriptorProviderContext(); 223var context = new ActionDescriptorProviderContext(); 277var context = new ActionDescriptorProviderContext(); 321var context = new ActionDescriptorProviderContext();
Microsoft.AspNetCore.Mvc.Test (2)
Routing\ActionConstraintMatcherPolicyTest.cs (2)
442.Setup(a => a.OnProvidersExecuted(It.IsAny<ActionDescriptorProviderContext>())) 443.Callback<ActionDescriptorProviderContext>(c =>
Mvc.RoutingWebSite (2)
RemoveControllerActionDescriptorProvider.cs (2)
20public void OnProvidersExecuted(ActionDescriptorProviderContext context) 24public void OnProvidersExecuting(ActionDescriptorProviderContext context)