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