334 references to ActionDescriptor
Microsoft.AspNetCore.Grpc.Swagger (1)
Internal\GrpcJsonTranscodingDescriptionProvider.cs (1)
66apiDescription.ActionDescriptor = new ActionDescriptor
Microsoft.AspNetCore.Grpc.Swagger.Tests (1)
XmlComments\XmlCommentsDocumentFilterTests.cs (1)
50ActionDescriptor = new ActionDescriptor
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
Filters\FilterContextTest.cs (1)
122: base(new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor()), filters)
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointMetadataApiDescriptionProvider.cs (1)
105ActionDescriptor = new ActionDescriptor
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
39var action = new ActionDescriptor();
Microsoft.AspNetCore.Mvc.Core (1)
Routing\ActionConstraintMatcherPolicy.cs (1)
19internal static readonly ActionDescriptor NonAction = new ActionDescriptor();
Microsoft.AspNetCore.Mvc.Core.Test (215)
AcceptedAtActionResultTests.cs (3)
201var context = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor()); 218var context = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor()); 245new ActionDescriptor());
AcceptedAtRouteResultTests.cs (1)
153new ActionDescriptor());
AcceptedResultTests.cs (1)
110new ActionDescriptor());
ActionConstraints\HttpMethodActionConstraintTest.cs (1)
60var actionSelectorCandidate = new ActionSelectorCandidate(new ActionDescriptor(), new List<IActionConstraint> { constraint });
ApplicationModels\ControllerActionDescriptorProviderTests.cs (2)
1293context.Results.Add(new ActionDescriptor() 1301context.Results.Add(new ActionDescriptor()
Authorization\AuthorizeFilterTest.cs (2)
21private readonly ActionContext ActionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor()); 629actionDescriptor: new ActionDescriptor());
ChallengeResultTest.cs (2)
34new ActionDescriptor()); 59new ActionDescriptor());
ConsumesAttributeTests.cs (17)
85var action = new ActionDescriptor() 109var action1 = new ActionDescriptor() 116var action2 = new ActionDescriptor() 147var action1 = new ActionDescriptor() 154var action2 = new ActionDescriptor() 184var actionWithConstraint = new ActionDescriptor() 191var actionWithConstraint2 = new ActionDescriptor() 197var actionWithoutConstraint = new ActionDescriptor(); 223var actionWithoutConstraint = new ActionDescriptor(); 225var actionWithConstraint = new ActionDescriptor() 232var actionWithConstraint2 = new ActionDescriptor() 263var actionWithConstraint = new ActionDescriptor() 270var actionWithConstraint2 = new ActionDescriptor() 276var actionWithoutConstraint = new ActionDescriptor(); 303var actionWithConstraint = new ActionDescriptor() 333var actionWithConstraint = new ActionDescriptor() 362var actionWithConstraint = new ActionDescriptor()
ContentResultTest.cs (1)
253new ActionDescriptor());
CreatedAtActionResultTests.cs (1)
73new ActionDescriptor());
CreatedAtRouteResultTests.cs (1)
86new ActionDescriptor());
CreatedResultTests.cs (1)
119new ActionDescriptor());
EmptyResultTests.cs (1)
21var actionDescriptor = new ActionDescriptor();
FileContentResultTest.cs (1)
37var context = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
FileResultHelperTest.cs (1)
480return new ActionContext(context, new RouteData(), new ActionDescriptor());
FileStreamResultTest.cs (1)
29var actionContext = new ActionContext(httpContext, new(), new());
Filters\DisableRequestSizeLimitFilterTest.cs (1)
122return new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
Filters\FilterFactoryTest.cs (1)
328var actionDescriptor = new ActionDescriptor
Filters\FilterProviderTest.cs (1)
150return new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
Filters\MiddlewareFilterBuilderTest.cs (3)
130new ActionDescriptor(), 193new ActionDescriptor(), 261new ActionDescriptor(),
Filters\MiddlewareFilterTest.cs (1)
220new ActionContext(httpContext, new RouteData(), new ActionDescriptor(), new ModelStateDictionary()),
Filters\RequestFormLimitsFilterTest.cs (1)
137return new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
Filters\RequestSizeLimitFilterTest.cs (1)
128return new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
Filters\ResponseCacheFilterExecutorTest.cs (1)
536new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor()),
ForbidResultTest.cs (4)
34new ActionDescriptor()); 65new ActionDescriptor()); 99new ActionDescriptor()); 130new ActionDescriptor());
Formatters\FormatFilterTest.cs (4)
76var ac = new ActionContext(httpContext.Object, data, new ActionDescriptor()); 330var actionContext = new ActionContext(httpContext.Object, new RouteData(), new ActionDescriptor()); 367var actionContext = new ActionContext(httpContext.Object, new RouteData(), new ActionDescriptor()); 449return new ActionContext(httpContext.Object, data, new ActionDescriptor());
Formatters\JsonOutputFormatterTestBase.cs (1)
171return new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
HttpActionResultTests.cs (1)
36var context = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
HttpOkObjectResultTest.cs (1)
57var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
HttpOkResultTest.cs (1)
32var context = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
HttpStatusCodeResultTests.cs (1)
24var actionDescriptor = new ActionDescriptor();
Infrastructure\ActionSelectionTableTest.cs (25)
22new ActionDescriptor() 31new ActionDescriptor() 58new ActionDescriptor() 68new ActionDescriptor() 98new ActionDescriptor() 108new ActionDescriptor() 137new ActionDescriptor() 146new ActionDescriptor() 172new ActionDescriptor() 181new ActionDescriptor() 207new ActionDescriptor() 216new ActionDescriptor() 242new ActionDescriptor() 272new ActionDescriptor() 305new ActionDescriptor() 314new ActionDescriptor() 323new ActionDescriptor() // This won't match the request 354new ActionDescriptor() 363new ActionDescriptor() 372new ActionDescriptor() // This won't match the request 400new ActionDescriptor() 431new ActionDescriptor() 462new ActionDescriptor() 493new ActionDescriptor() 522new ActionDescriptor()
Infrastructure\ActionSelectorTest.cs (40)
32new ActionDescriptor() 41new ActionDescriptor() 71new ActionDescriptor() 81new ActionDescriptor() 113new ActionDescriptor() 122new ActionDescriptor() 151new ActionDescriptor() 160new ActionDescriptor() 189new ActionDescriptor() 225new ActionDescriptor() 234new ActionDescriptor() 243new ActionDescriptor() // This won't match the request 277new ActionDescriptor() 286new ActionDescriptor() 295new ActionDescriptor() // This won't match the request 326new ActionDescriptor() 360new ActionDescriptor() 394new ActionDescriptor() 428new ActionDescriptor() 462new ActionDescriptor() 500new ActionDescriptor() { DisplayName = "A1" }, 501new ActionDescriptor() { DisplayName = "A2" }, 523var actionWithConstraints = new ActionDescriptor() 532var actionWithoutConstraints = new ActionDescriptor() 553var action1 = new ActionDescriptor() 561var action2 = new ActionDescriptor() 585var action1 = new ActionDescriptor() 594var action2 = new ActionDescriptor() 619var actionWithConstraints = new ActionDescriptor() 630var actionWithoutConstraints = new ActionDescriptor() 651var nullConstraint = new ActionDescriptor() 678var actionWithConstraints = new ActionDescriptor() 686var actionWithoutConstraints = new ActionDescriptor() 708var best = new ActionDescriptor() 716var worst = new ActionDescriptor() 741var best = new ActionDescriptor() 751var worst = new ActionDescriptor() 777var nomatch1 = new ActionDescriptor() 787var nomatch2 = new ActionDescriptor() 797var best = new ActionDescriptor();
Infrastructure\ClientErrorResultFilterTest.cs (1)
116new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor()),
Infrastructure\DefaultActionDescriptorCollectionProviderTest.cs (7)
17var expected1 = new ActionDescriptor(); 20var expected2 = new ActionDescriptor(); 21var expected3 = new ActionDescriptor(); 45var actionDescriptorProvider = GetActionDescriptorProvider(new ActionDescriptor()); 72var expected1 = new ActionDescriptor(); 73var expected2 = new ActionDescriptor(); 74var expected3 = new ActionDescriptor();
Infrastructure\JsonResultExecutorTestBase.cs (1)
493return new ActionContext(GetHttpContext(), new RouteData(), new ActionDescriptor());
Infrastructure\ModelStateInvalidFilterTest.cs (1)
75new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor()),
LocalRedirectResultTest.cs (1)
133return new ActionContext(httpContext, routeData, new ActionDescriptor());
ModelBinding\CompositeValueProviderTest.cs (1)
52var actionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor(), new ModelStateDictionary());
ModelBinding\FormFileValueProviderFactoryTest.cs (2)
108var actionContext = new ActionContext(context.Object, new RouteData(), new ActionDescriptor()); 118var actionContext = new ActionContext(context, new RouteData(), new ActionDescriptor());
ModelBinding\FormValueProviderFactoryTest.cs (2)
96var actionContext = new ActionContext(context.Object, new RouteData(), new ActionDescriptor()); 111var actionContext = new ActionContext(context, new RouteData(), new ActionDescriptor());
ModelBinding\JQueryFormValueProviderFactoryTest.cs (2)
181var actionContext = new ActionContext(context.Object, new RouteData(), new ActionDescriptor()); 196var actionContext = new ActionContext(context, new RouteData(), new ActionDescriptor());
ModelBinding\JQueryQueryStringValueProviderFactoryTest.cs (1)
119var actionContext = new ActionContext(context, new RouteData(), new ActionDescriptor());
ModelBinding\QueryStringValueProviderFactoryTest.cs (2)
18var actionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor()); 37var actionContext = new ActionContext(context, new RouteData(), new ActionDescriptor());
ModelBinding\UnsupportedContentTypeFilterTest.cs (4)
22ActionDescriptor = new ActionDescriptor() 55ActionDescriptor = new ActionDescriptor() 81ActionDescriptor = new ActionDescriptor() 105ActionDescriptor = new ActionDescriptor()
MvcCoreLoggerExtensionsTest.cs (2)
75var action = new ActionDescriptor 104var action = new ActionDescriptor
PhysicalFileResultTest.cs (1)
32var actionContext = new ActionContext(httpContext, new(), new());
ProducesAttributeTests.cs (1)
193return new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
RedirectResultTest.cs (1)
19var actionContext = new ActionContext(httpContext, new(), new());
RedirectToActionResultTest.cs (4)
36var actionContext = new ActionContext(httpContext.Object, new RouteData(), new ActionDescriptor()); 66var actionContext = new ActionContext(httpContext.Object, new RouteData(), new ActionDescriptor()); 95var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 123var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
RedirectToPageResultTest.cs (5)
28var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 60new ActionDescriptor()); 88ActionDescriptor = new ActionDescriptor(), 208new ActionDescriptor()); 259new ActionDescriptor());
RedirectToRouteResultTest.cs (5)
36new ActionDescriptor()); 66var actionContext = new ActionContext(httpContext.Object, new RouteData(), new ActionDescriptor()); 102var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 124var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 149var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
RequireHttpsAttributeTests.cs (1)
229var actionContext = new ActionContext(ctx, new RouteData(), new ActionDescriptor());
ResponseCacheAttributeTest.cs (1)
348new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor()),
Routing\ActionEndpointFactoryTest.cs (1)
461var actionDescriptor = new ActionDescriptor();
Routing\AttributeRouteTest.cs (25)
32new ActionDescriptor() 39new ActionDescriptor() 118new ActionDescriptor() 162new ActionDescriptor() 206new ActionDescriptor() 253new ActionDescriptor() 267new ActionDescriptor() 321new ActionDescriptor() 364new ActionDescriptor() 407new ActionDescriptor() 455new ActionDescriptor() 469new ActionDescriptor() 515new ActionDescriptor() 546new ActionDescriptor() 555new ActionDescriptor() 563new ActionDescriptor() 602new ActionDescriptor() 611new ActionDescriptor() 619new ActionDescriptor() 658new ActionDescriptor() 667new ActionDescriptor() 675new ActionDescriptor() 714new ActionDescriptor() 723new ActionDescriptor() 731new ActionDescriptor()
Routing\ControllerActionEndpointDataSourceTest.cs (1)
22new ActionDescriptor
Routing\KnownRouteValueConstraintTests.cs (1)
72var descriptorCollectionProvider = CreateActionDescriptorCollectionProvider(new ActionDescriptor());
Routing\UrlHelperBaseTest.cs (1)
133return new ActionContext(context, new RouteData(), new ActionDescriptor());
Routing\UrlHelperExtensionsTest.cs (6)
263ActionDescriptor = new ActionDescriptor 497ActionDescriptor = new ActionDescriptor 617var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 652var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 687var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 868ActionDescriptor = new ActionDescriptor
Routing\UrlHelperTestBase.cs (2)
1131var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 1138return new ActionContext(httpContext, routeData, new ActionDescriptor());
SignInResultTest.cs (3)
36new ActionDescriptor()); 63new ActionDescriptor()); 91new ActionDescriptor());
SignOutResultTest.cs (3)
34new ActionDescriptor()); 60new ActionDescriptor()); 91new ActionDescriptor());
VirtualFileResultTest.cs (1)
90var actionContext = new ActionContext(httpContext, new(), new());
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
CommonFilterTest.cs (1)
226return new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
Microsoft.AspNetCore.Mvc.Cors.Test (5)
CorsAuthorizationFilterTest.cs (1)
155actionDescriptor: new ActionDescriptor() { FilterDescriptors = filterDescriptors });
CorsHttpMethodActionConstraintTest.cs (1)
76var actionSelectorCandidate = new ActionSelectorCandidate(new ActionDescriptor(), new List<IActionConstraint> { constraint });
DisableCorsAuthorizationFilterTest.cs (3)
24new ActionContext(httpContext, new RouteData(), new ActionDescriptor()), 43new ActionContext(httpContext, new RouteData(), new ActionDescriptor()), 65new ActionContext(httpContext, new RouteData(), new ActionDescriptor()),
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (3)
JsonResultTest.cs (1)
60return new ActionContext(GetHttpContext(), new RouteData(), new ActionDescriptor());
src\Mvc\Mvc.Core\test\Formatters\JsonOutputFormatterTestBase.cs (1)
171return new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
src\Mvc\Mvc.Core\test\Infrastructure\JsonResultExecutorTestBase.cs (1)
493return new ActionContext(GetHttpContext(), new RouteData(), new ActionDescriptor());
Microsoft.AspNetCore.Mvc.Razor.Test (14)
DefaultTagHelperFactoryTest.cs (1)
155var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
Infrastructure\DefaultTagHelperActivatorTest.cs (1)
41var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
RazorPageActivatorTest.cs (1)
259var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
RazorPageCreateModelExpressionTest.cs (1)
322var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
RazorPageCreateTagHelperTest.cs (1)
93var actionContext = new ActionContext(httpContext.Object, new RouteData(), new ActionDescriptor());
RazorPageTest.cs (1)
1422new ActionDescriptor());
RazorViewEngineTest.cs (7)
1611var actionDescriptor = new ActionDescriptor(); 1635var actionDescriptor = new ActionDescriptor(); 1658var actionDescriptor = new ActionDescriptor(); 1681var actionDescriptor = new ActionDescriptor(); 1706var actionDescriptor = new ActionDescriptor 2127var actionDescriptor = new ActionDescriptor(); 2142var actionDescriptor = new ActionDescriptor();
RazorViewTest.cs (1)
1793var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
Filters\PageViewDataAttributeFilterTest.cs (2)
24var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 43var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
Infrastructure\PageActionEndpointDataSourceTest.cs (1)
23new ActionDescriptor
Microsoft.AspNetCore.Mvc.TagHelpers.Test (11)
CacheTagHelperTest.cs (1)
931var actionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
CacheTagKeyTest.cs (1)
540var actionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
DistributedCacheTagHelperTest.cs (1)
738var actionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
FormTagHelperTest.cs (1)
1159new ActionDescriptor());
ImageTagHelperTest.cs (1)
293var actionContext = new ActionContext(new DefaultHttpContext(), new AspNetCore.Routing.RouteData(), new ActionDescriptor());
LinkTagHelperTest.cs (1)
1124var actionContext = new ActionContext(new DefaultHttpContext(), new AspNetCore.Routing.RouteData(), new ActionDescriptor());
PartialTagHelperTest.cs (1)
841new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor()),
ScriptTagHelperTest.cs (1)
1105var actionContext = new ActionContext(new DefaultHttpContext(), new AspNetCore.Routing.RouteData(), new ActionDescriptor());
TestableHtmlGenerator.cs (1)
77new ActionDescriptor(),
ValidationMessageTagHelperTest.cs (1)
468new ActionDescriptor());
ValidationSummaryTagHelperTest.cs (1)
652new ActionDescriptor());
Microsoft.AspNetCore.Mvc.Test (26)
Routing\ActionConstraintMatcherPolicyTest.cs (26)
24new ActionDescriptor() { DisplayName = "A1" }, 25new ActionDescriptor() { DisplayName = "A2" }, 44var actionWithConstraints = new ActionDescriptor() 53var actionWithoutConstraints = new ActionDescriptor() 77var action1 = new ActionDescriptor() 85var action2 = new ActionDescriptor() 112var action1 = new ActionDescriptor() 121var action2 = new ActionDescriptor() 149var best = new ActionDescriptor() 157var worst = new ActionDescriptor() 183var best = new ActionDescriptor() 191var another = new ActionDescriptor(); 193var worst = new ActionDescriptor() 222var action1 = new ActionDescriptor() 230var action2 = new ActionDescriptor() 258var best = new ActionDescriptor() 268var worst = new ActionDescriptor() 297var nomatch1 = new ActionDescriptor() 307var nomatch2 = new ActionDescriptor() 317var best = new ActionDescriptor(); 341new ActionDescriptor() 377new ActionDescriptor() 381new ActionDescriptor() 388new ActionDescriptor() 413new ActionDescriptor() 417new ActionDescriptor()
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (50)
DefaultHtmlGeneratorTest.cs (1)
1033var actionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
DefaultValidationHtmlAttributeProviderTest.cs (1)
253var actionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
Filters\AntiforgeryMiddlewareAuthorizationFilterTest.cs (4)
22var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 40var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 57var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 74var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
Filters\AutoValidateAntiforgeryTokenAuthorizationFilterTest.cs (3)
31var actionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor()); 59var actionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor()); 83var actionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
Filters\ControllerSaveTempDataPropertyFilterTest.cs (4)
43ActionDescriptor = new ActionDescriptor(), 89ActionDescriptor = new ActionDescriptor(), 132ActionDescriptor = new ActionDescriptor(), 171ActionDescriptor = new ActionDescriptor(),
Filters\ControllerViewDataAttributeFilterTest.cs (2)
21var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 39var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
Filters\SaveTempDataFilterTest.cs (4)
303var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 321new ActionContext(httpContext, new RouteData(), new ActionDescriptor()), 351new ActionContext(httpContext, new RouteData(), new ActionDescriptor()), 374return new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
Filters\ValidateAntiforgeryTokenAuthorizationFilterTest.cs (3)
35var actionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor()); 59var actionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor()); 87var actionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
PageRemoteAttributeTest.cs (1)
215return new ActionContext(httpContext, routeData, new ActionDescriptor());
PartialViewResultTest.cs (2)
45var actionContext = new ActionContext(new DefaultHttpContext() { RequestServices = Mock.Of<IServiceProvider>(), }, new RouteData(), new ActionDescriptor()); 228return new ActionContext(GetHttpContext(), new RouteData(), new ActionDescriptor());
RemoteAttributeBaseTest.cs (1)
485actionDescriptor: new ActionDescriptor());
RemoteAttributeTest.cs (1)
481return new ActionContext(httpContext, routeData, new ActionDescriptor());
Rendering\DefaultTemplatesUtilities.cs (1)
229var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
Rendering\ViewContextTests.cs (2)
23new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor()), 50new ActionContext(httpContext, new RouteData(), new ActionDescriptor()),
SkipStatusCodePagesAttributeTest.cs (1)
52return new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
ViewComponentResultTest.cs (4)
54var actionContext = new ActionContext(new DefaultHttpContext() { RequestServices = Mock.Of<IServiceProvider>(), }, new RouteData(), new ActionDescriptor()); 419var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 461var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 699return new ActionContext(CreateHttpContext(diagnosticListener, descriptors), new RouteData(), new ActionDescriptor());
ViewComponents\ContentViewComponentResultTest.cs (1)
40var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
ViewComponents\HtmlContentViewComponentResultTest.cs (1)
40var actionContext = new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
ViewComponents\ViewComponentContextTest.cs (2)
22var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor()); 85var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
ViewComponents\ViewViewComponentResultTest.cs (1)
521var actionContext = new ActionContext(httpContext, new RouteData(), new ActionDescriptor());
ViewEngines\CompositeViewEngineTest.cs (1)
428return new ActionContext(new DefaultHttpContext(), new RouteData(), new ActionDescriptor());
ViewExecutorTest.cs (7)
99new ActionDescriptor()); 140new ActionDescriptor()); 194new ActionDescriptor()); 231new ActionDescriptor()); 266new ActionDescriptor()); 314new ActionDescriptor()); 355new ActionDescriptor());
ViewResultTest.cs (2)
55var actionContext = new ActionContext(new DefaultHttpContext() { RequestServices = Mock.Of<IServiceProvider>(), }, new RouteData(), new ActionDescriptor()); 240return new ActionContext(GetHttpContext(), new RouteData(), new ActionDescriptor());