1 write to ControllerTypeInfo
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\ControllerActionDescriptorBuilder.cs (1)
39
actionDescriptor.
ControllerTypeInfo
= controller.ControllerType;
27 references to ControllerTypeInfo
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
206
containerType: context.ActionDescriptor.
ControllerTypeInfo
.AsType(),
Microsoft.AspNetCore.Mvc.Core (24)
Controllers\ControllerActionDescriptor.cs (3)
50
if (base.DisplayName == null &&
ControllerTypeInfo
!= null && MethodInfo != null)
55
TypeNameHelper.GetTypeDisplayName(
ControllerTypeInfo
),
57
ControllerTypeInfo
.Assembly.GetName().Name);
Controllers\ControllerActivatorProvider.cs (5)
44
var controllerType = descriptor.
ControllerTypeInfo
?.AsType();
48
nameof(descriptor.
ControllerTypeInfo
),
72
if (typeof(IDisposable).GetTypeInfo().IsAssignableFrom(descriptor.
ControllerTypeInfo
))
90
if (typeof(IAsyncDisposable).GetTypeInfo().IsAssignableFrom(descriptor.
ControllerTypeInfo
))
95
if (typeof(IDisposable).GetTypeInfo().IsAssignableFrom(descriptor.
ControllerTypeInfo
))
Controllers\ControllerBinderDelegateProvider.cs (1)
174
var controllerType = actionDescriptor.
ControllerTypeInfo
.AsType();
Controllers\ControllerFactoryProvider.cs (6)
42
var controllerType = descriptor.
ControllerTypeInfo
?.AsType();
46
nameof(descriptor.
ControllerTypeInfo
),
77
var controllerType = descriptor.
ControllerTypeInfo
?.AsType();
81
nameof(descriptor.
ControllerTypeInfo
),
98
var controllerType = descriptor.
ControllerTypeInfo
?.AsType();
102
nameof(descriptor.
ControllerTypeInfo
),
Controllers\DefaultControllerActivator.cs (2)
39
var controllerTypeInfo = controllerContext.ActionDescriptor.
ControllerTypeInfo
;
44
nameof(controllerContext.ActionDescriptor.
ControllerTypeInfo
),
Controllers\DefaultControllerPropertyActivator.cs (2)
37
var controllerType = actionDescriptor.
ControllerTypeInfo
?.AsType();
41
nameof(actionDescriptor.
ControllerTypeInfo
),
Controllers\ServiceBasedControllerActivator.cs (1)
19
var controllerType = actionContext.ActionDescriptor.
ControllerTypeInfo
.AsType();
Infrastructure\ControllerActionInvoker.cs (2)
596
var controllerType = context.ActionDescriptor.
ControllerTypeInfo
.AsType();
611
var controllerType = context.ActionDescriptor.
ControllerTypeInfo
.AsType();
Infrastructure\ControllerActionInvokerCache.cs (1)
59
actionDescriptor.
ControllerTypeInfo
,
Infrastructure\ResourceInvoker.Log.cs (1)
50
var controllerType = controllerActionDescriptor.
ControllerTypeInfo
.AsType();
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
ViewDataDictionaryControllerPropertyActivator.cs (2)
55
var controllerType = actionDescriptor.
ControllerTypeInfo
?.AsType();
59
nameof(actionDescriptor.
ControllerTypeInfo
),