33 writes to ActionDescriptor
Microsoft.AspNetCore.Mvc.Abstractions (1)
ActionContext.cs (1)
74
ActionDescriptor
= actionDescriptor;
Microsoft.AspNetCore.Mvc.Core (1)
ControllerContext.cs (1)
66
set { base.
ActionDescriptor
= value; }
Microsoft.AspNetCore.Mvc.Core.Test (9)
Infrastructure\ControllerActionInvokerProviderTest.cs (1)
29
ActionDescriptor
= GetControllerActionDescriptor(),
ModelBinding\UnsupportedContentTypeFilterTest.cs (4)
22
ActionDescriptor
= new ActionDescriptor()
55
ActionDescriptor
= new ActionDescriptor()
81
ActionDescriptor
= new ActionDescriptor()
105
ActionDescriptor
= new ActionDescriptor()
RedirectToPageResultTest.cs (1)
88
ActionDescriptor
= new ActionDescriptor(),
Routing\UrlHelperExtensionsTest.cs (3)
263
ActionDescriptor
= new ActionDescriptor
497
ActionDescriptor
= new ActionDescriptor
868
ActionDescriptor
= new ActionDescriptor
Microsoft.AspNetCore.Mvc.Razor.Test (5)
RazorViewEngineTest.cs (5)
1616
ActionDescriptor
= actionDescriptor,
1640
ActionDescriptor
= actionDescriptor,
1663
ActionDescriptor
= actionDescriptor,
1686
ActionDescriptor
= actionDescriptor,
1713
ActionDescriptor
= actionDescriptor,
Microsoft.AspNetCore.Mvc.RazorPages (2)
Infrastructure\PageActionInvokerCache.cs (1)
54
actionContext.
ActionDescriptor
= compiledPageActionDescriptor;
PageContext.cs (1)
69
base.
ActionDescriptor
= value;
Microsoft.AspNetCore.Mvc.RazorPages.Test (11)
Infrastructure\PageActionInvokerProviderTest.cs (9)
55
ActionDescriptor
= descriptor,
117
ActionDescriptor
= descriptor,
183
ActionDescriptor
= descriptor,
215
ActionDescriptor
= descriptor,
231
ActionDescriptor
= descriptor,
261
ActionDescriptor
= descriptor,
295
ActionDescriptor
= descriptor,
332
ActionDescriptor
= descriptor,
349
ActionDescriptor
= descriptor2,
Infrastructure\PageViewLocationExpanderTest.cs (2)
52
context.ActionContext.
ActionDescriptor
= new ControllerActionDescriptor();
205
ActionDescriptor
= new PageActionDescriptor(),
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
Filters\ControllerSaveTempDataPropertyFilterTest.cs (4)
43
ActionDescriptor
= new ActionDescriptor(),
89
ActionDescriptor
= new ActionDescriptor(),
132
ActionDescriptor
= new ActionDescriptor(),
171
ActionDescriptor
= new ActionDescriptor(),
87 references to ActionDescriptor
ApiExplorerWebSite (2)
ApiExplorerDataFilter.cs (2)
28
if (context.
ActionDescriptor
is ControllerActionDescriptor controllerActionDescriptor &&
39
if (context.
ActionDescriptor
== description.ActionDescriptor)
BasicWebSite (4)
src\Mvc\test\WebSites\Common\TestResponseGenerator.cs (3)
38
var attributeRoutingInfo = _actionContext.
ActionDescriptor
.AttributeRouteInfo;
47
action = ((ControllerActionDescriptor)_actionContext.
ActionDescriptor
).ActionName,
48
controller = ((ControllerActionDescriptor)_actionContext.
ActionDescriptor
).ControllerName,
ValueProviders\CustomValueProviderFactory.cs (1)
21
{ "customValueProviderDisplayName", context => context.ActionContext.
ActionDescriptor
.DisplayName },
FormatterWebSite (2)
ValidateBodyParameterAttribute.cs (2)
17
var bodyParameter = context.
ActionDescriptor
30
ActionName = ((ControllerActionDescriptor)context.
ActionDescriptor
).ActionName,
GenericHostWebSite (3)
src\Mvc\test\WebSites\Common\TestResponseGenerator.cs (3)
38
var attributeRoutingInfo = _actionContext.
ActionDescriptor
.AttributeRouteInfo;
47
action = ((ControllerActionDescriptor)_actionContext.
ActionDescriptor
).ActionName,
48
controller = ((ControllerActionDescriptor)_actionContext.
ActionDescriptor
).ControllerName,
Identity.ExternalClaims (1)
Pages\Account\Manage\ManageNavPages.cs (1)
33
?? System.IO.Path.GetFileNameWithoutExtension(viewContext.
ActionDescriptor
.DisplayName);
Microsoft.AspNetCore.Identity.UI (4)
Areas\Identity\Pages\V4\Account\Manage\ManageNavPages.cs (2)
117
?? Path.GetFileNameWithoutExtension(viewContext.
ActionDescriptor
.DisplayName);
176
?? Path.GetFileNameWithoutExtension(viewContext.
ActionDescriptor
.DisplayName);
Areas\Identity\Pages\V5\Account\Manage\ManageNavPages.cs (2)
117
?? Path.GetFileNameWithoutExtension(viewContext.
ActionDescriptor
.DisplayName);
176
?? Path.GetFileNameWithoutExtension(viewContext.
ActionDescriptor
.DisplayName);
Microsoft.AspNetCore.Mvc.Abstractions (1)
ActionContext.cs (1)
35
actionContext.
ActionDescriptor
,
Microsoft.AspNetCore.Mvc.Core (40)
ConsumesAttribute.cs (1)
112
if (IsApplicable(context.
ActionDescriptor
))
ControllerContext.cs (2)
38
if (context.
ActionDescriptor
is not ControllerActionDescriptor)
65
get { return (ControllerActionDescriptor)base.
ActionDescriptor
; }
Filters\DefaultFilterProvider.cs (1)
18
if (context.ActionContext.
ActionDescriptor
.FilterDescriptors != null)
Filters\FilterFactory.cs (2)
17
var actionDescriptor = actionContext.
ActionDescriptor
;
70
if (actionContext.
ActionDescriptor
.CachedReusableFilters is { } cached)
Infrastructure\ControllerActionInvokerProvider.cs (1)
64
if (context.ActionContext.
ActionDescriptor
is ControllerActionDescriptor)
Infrastructure\ResourceInvoker.cs (6)
65
var scope = _logger.ActionScope(_actionContext.
ActionDescriptor
);
105
actionContext.
ActionDescriptor
,
109
var actionScope = logger.ActionScope(actionContext.
ActionDescriptor
);
111
Log.ExecutingAction(logger, actionContext.
ActionDescriptor
);
129
Log.ExecutedAction(logger, actionContext.
ActionDescriptor
, stopwatch.GetElapsedTime());
135
actionContext.
ActionDescriptor
,
MvcCoreDiagnosticListenerExtensions.cs (26)
99
authorizationContext.
ActionDescriptor
,
129
authorizationContext.
ActionDescriptor
,
159
authorizationContext.
ActionDescriptor
,
189
authorizationContext.
ActionDescriptor
,
219
resourceExecutingContext.
ActionDescriptor
,
249
resourceExecutedContext.
ActionDescriptor
,
279
resourceExecutingContext.
ActionDescriptor
,
309
resourceExecutingContext.
ActionDescriptor
,
339
resourceExecutedContext.
ActionDescriptor
,
369
resourceExecutedContext.
ActionDescriptor
,
399
exceptionContext.
ActionDescriptor
,
429
exceptionContext.
ActionDescriptor
,
459
exceptionContext.
ActionDescriptor
,
489
exceptionContext.
ActionDescriptor
,
519
actionExecutingContext.
ActionDescriptor
,
549
actionExecutedContext.
ActionDescriptor
,
579
actionExecutingContext.
ActionDescriptor
,
609
actionExecutingContext.
ActionDescriptor
,
639
actionExecutedContext.
ActionDescriptor
,
669
actionExecutedContext.
ActionDescriptor
,
792
resultExecutingContext.
ActionDescriptor
,
822
resultExecutedContext.
ActionDescriptor
,
852
resultExecutingContext.
ActionDescriptor
,
882
resultExecutingContext.
ActionDescriptor
,
912
resultExecutedContext.
ActionDescriptor
,
942
resultExecutedContext.
ActionDescriptor
,
Routing\NormalizedRouteValue.cs (1)
32
var actionDescriptor = context.
ActionDescriptor
;
Microsoft.AspNetCore.Mvc.Core.Test (5)
Filters\FilterFactoryTest.cs (3)
155
var filterDescriptors = actionContext.
ActionDescriptor
.FilterDescriptors;
186
var filterDescriptors = actionContext.
ActionDescriptor
.FilterDescriptors;
228
var filterDescriptors = actionContext.
ActionDescriptor
.FilterDescriptors;
Filters\FilterProviderTest.cs (1)
142
actionContext.
ActionDescriptor
.FilterDescriptors = new List<FilterDescriptor>(
Filters\MiddlewareFilterTest.cs (1)
404
CreateCacheEntry((ControllerActionDescriptor)actionContext.
ActionDescriptor
, controllerFactory),
Microsoft.AspNetCore.Mvc.Razor (3)
MvcRazorDiagnosticListenerExtensions.cs (2)
36
viewContext.
ActionDescriptor
,
66
viewContext.
ActionDescriptor
,
RazorViewEngine.cs (1)
224
if (actionContext.
ActionDescriptor
.RouteValues.ContainsKey(PageKey))
Microsoft.AspNetCore.Mvc.Razor.Test (1)
RazorViewEngineTest.cs (1)
1893
context.
ActionDescriptor
.RouteValues["page"] = "MyPage";
Microsoft.AspNetCore.Mvc.RazorPages (6)
Filters\PageHandlerExecutedContext.cs (1)
44
(CompiledPageActionDescriptor)base.
ActionDescriptor
;
Filters\PageHandlerExecutingContext.cs (1)
44
(CompiledPageActionDescriptor)base.
ActionDescriptor
;
Filters\PageHandlerSelectedContext.cs (1)
37
(CompiledPageActionDescriptor)base.
ActionDescriptor
;
Infrastructure\PageActionInvokerCache.cs (1)
43
var actionDescriptor = (PageActionDescriptor)actionContext.
ActionDescriptor
;
Infrastructure\PageActionInvokerProvider.cs (1)
67
if (actionContext.
ActionDescriptor
is not PageActionDescriptor page)
Infrastructure\PageViewLocationExpander.cs (1)
16
if ((context.ActionContext.
ActionDescriptor
is PageActionDescriptor) && !string.IsNullOrEmpty(context.PageName))
Microsoft.AspNetCore.Mvc.ViewFeatures (6)
MvcViewFeaturesDiagnosticListenerExtensions.cs (4)
33
context.ViewContext.
ActionDescriptor
,
60
context.ViewContext.
ActionDescriptor
,
87
context.ViewContext.
ActionDescriptor
,
113
context.ViewContext.
ActionDescriptor
,
PartialViewResultExecutor.cs (1)
173
var actionDescriptor = context.
ActionDescriptor
;
ViewResultExecutor.cs (1)
173
var actionDescriptor = context.
ActionDescriptor
;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Rendering\ViewContextTests.cs (2)
64
Assert.Same(originalContext.
ActionDescriptor
, context.
ActionDescriptor
);
Mvc.RoutingWebSite (4)
Controllers\RouteDataController.cs (1)
32
context.RouteData.DataTokens.Add("actionName", ((ControllerActionDescriptor)context.
ActionDescriptor
).ActionName);
src\Mvc\test\WebSites\Common\TestResponseGenerator.cs (3)
38
var attributeRoutingInfo = _actionContext.
ActionDescriptor
.AttributeRouteInfo;
47
action = ((ControllerActionDescriptor)_actionContext.
ActionDescriptor
).ActionName,
48
controller = ((ControllerActionDescriptor)_actionContext.
ActionDescriptor
).ControllerName,
VersioningWebSite (3)
src\Mvc\test\WebSites\Common\TestResponseGenerator.cs (3)
38
var attributeRoutingInfo = _actionContext.
ActionDescriptor
.AttributeRouteInfo;
47
action = ((ControllerActionDescriptor)_actionContext.
ActionDescriptor
).ActionName,
48
controller = ((ControllerActionDescriptor)_actionContext.
ActionDescriptor
).ControllerName,