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