38 writes to ControllerTypeInfo
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
2306action.ControllerTypeInfo = controllerType.GetTypeInfo();
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\ControllerActionDescriptorBuilder.cs (1)
39actionDescriptor.ControllerTypeInfo = controller.ControllerType;
Microsoft.AspNetCore.Mvc.Core.Test (35)
Controllers\ControllerActivatorProviderTest.cs (5)
26ControllerTypeInfo = typeof(object).GetTypeInfo(), 47ControllerTypeInfo = typeof(TestController).GetTypeInfo(), 80ControllerTypeInfo = typeof(object).GetTypeInfo(), 99ControllerTypeInfo = typeof(TestController).GetTypeInfo(), 117ControllerTypeInfo = typeof(DisposableController).GetTypeInfo(),
Controllers\ControllerBinderDelegateProviderTest.cs (1)
1274ControllerTypeInfo = typeof(TestController).GetTypeInfo(),
Controllers\ControllerFactoryProviderTest.cs (5)
26ControllerTypeInfo = typeof(object).GetTypeInfo(), 52ControllerTypeInfo = typeof(object).GetTypeInfo(), 77ControllerTypeInfo = typeof(object).GetTypeInfo(), 130ControllerTypeInfo = typeof(TestController).GetTypeInfo(), 166ControllerTypeInfo = typeof(object).GetTypeInfo(),
Controllers\DefaultControllerActivatorTest.cs (2)
36ControllerTypeInfo = type.GetTypeInfo() 136ControllerTypeInfo = typeof(TypeDerivingFromControllerWithServices).GetTypeInfo()
Controllers\DefaultControllerFactoryTest.cs (6)
22ControllerTypeInfo = typeof(MyController).GetTypeInfo() 56ControllerTypeInfo = typeof(ControllerWithAttributes).GetTypeInfo() 83ControllerTypeInfo = typeof(ControllerWithAttributes).GetTypeInfo() 110ControllerTypeInfo = typeof(ControllerWithoutAttributes).GetTypeInfo() 137ControllerTypeInfo = typeof(ControllerWithNonVisibleProperties).GetTypeInfo() 165ControllerTypeInfo = typeof(ControllerThatCannotBeActivated).GetTypeInfo()
Controllers\ServiceBasedControllerActivatorTest.cs (2)
32ControllerTypeInfo = typeof(DIController).GetTypeInfo() 62ControllerTypeInfo = typeof(DIController).GetTypeInfo()
Filters\MiddlewareFilterTest.cs (1)
251actionDescriptor.ControllerTypeInfo = typeof(ControllerActionInvokerTest.TestController).GetTypeInfo();
Infrastructure\ControllerActionInvokerCacheTest.cs (1)
118ControllerTypeInfo = typeof(TestController).GetTypeInfo(),
Infrastructure\ControllerActionInvokerProviderTest.cs (1)
52ControllerTypeInfo = typeof(TestActions).GetTypeInfo(),
Infrastructure\ControllerActionInvokerTest.cs (8)
41actionDescriptor.ControllerTypeInfo = typeof(TestController).GetTypeInfo(); 82actionDescriptor.ControllerTypeInfo = typeof(TestController).GetTypeInfo(); 113actionDescriptor.ControllerTypeInfo = typeof(TestController).GetTypeInfo(); 162actionDescriptor.ControllerTypeInfo = typeof(TestController).GetTypeInfo(); 1385ControllerTypeInfo = typeof(TestController).GetTypeInfo(), 1557ControllerTypeInfo = typeof(TestController).GetTypeInfo(), 1607ControllerTypeInfo = typeof(TestController).GetTypeInfo(), 1649ControllerTypeInfo = typeof(TestController).GetTypeInfo(),
MvcCoreLoggerExtensionsTest.cs (3)
46ControllerTypeInfo = typeof(ValueTuple<int, string>).GetTypeInfo(), 440ControllerTypeInfo = typeof(ValueTuple<int, string>).GetTypeInfo() 468ControllerTypeInfo = typeof(ValueTuple<int, string>).GetTypeInfo()
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiDocumentServiceTestsBase.cs (1)
195action.ControllerTypeInfo = controllerType.GetTypeInfo();
32 references to ControllerTypeInfo
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
202containerType: 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)
594var controllerType = context.ActionDescriptor.ControllerTypeInfo.AsType(); 609var controllerType = context.ActionDescriptor.ControllerTypeInfo.AsType();
Infrastructure\ControllerActionInvokerCache.cs (1)
59actionDescriptor.ControllerTypeInfo,
Infrastructure\ResourceInvoker.Log.cs (1)
50var controllerType = controllerActionDescriptor.ControllerTypeInfo.AsType();
Microsoft.AspNetCore.Mvc.Core.Test (4)
Filters\MiddlewareFilterTest.cs (1)
422return ObjectMethodExecutor.Create(actionDescriptor.MethodInfo, actionDescriptor.ControllerTypeInfo);
Infrastructure\ControllerActionInvokerTest.cs (3)
1418actionDescriptor.ControllerTypeInfo, 1741actionDescriptor.ControllerTypeInfo, 1970actionDescriptor.ControllerTypeInfo,
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
ViewDataDictionaryControllerPropertyActivator.cs (2)
55var controllerType = actionDescriptor.ControllerTypeInfo?.AsType(); 59nameof(actionDescriptor.ControllerTypeInfo),
Mvc.RoutingWebSite (1)
RemoveControllerActionDescriptorProvider.cs (1)
30var controllerToRemove = _controllerTypes.SingleOrDefault(c => c.ControllerType == controllerActionDescriptor.ControllerTypeInfo);