1 instantiation of ControllerModel
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\DefaultApplicationModelProvider.cs (1)
160var controllerModel = new ControllerModel(typeInfo, attributes);
47 references to ControllerModel
Microsoft.AspNetCore.Mvc.Core (43)
ApplicationModels\ActionModel.cs (6)
88/// <see cref="ApplicationModel.ApiExplorer"/> and <see cref="ControllerModel.ApiExplorer"/>. 98/// Gets or sets the <see cref="ControllerModel"/>. 100public ControllerModel Controller { get; set; } = default!; 131/// to the key <c>action</c> and the value of <see cref="ControllerModel.ControllerName"/> is 138/// <see cref="ControllerModel.RouteValues"/>. 149/// <see cref="ApplicationModel.Properties"/> and <see cref="ControllerModel.Properties"/>.
ApplicationModels\ApiBehaviorApplicationModelProvider.cs (2)
71foreach (var controller in context.Result.Controllers) 117private static bool IsApiController(ControllerModel controller)
ApplicationModels\ApiConventionApplicationModelConvention.cs (1)
62var controller = action.Controller;
ApplicationModels\ApplicationModel.cs (4)
21Controllers = new List<ControllerModel>(); 32/// <see cref="ControllerModel.ApiExplorer"/> or <see cref="ActionModel.ApiExplorer"/>. 40/// Gets the <see cref="ControllerModel"/> instances. 42public IList<ControllerModel> Controllers { get; }
ApplicationModels\ApplicationModelConventions.cs (1)
34foreach (var controller in controllers)
ApplicationModels\ApplicationModelFactory.cs (3)
56Func<ApplicationModel, ControllerModel, ActionModel, SelectorModel, TResult> flattener) 65foreach (var controller in application.Controllers) 119ControllerModel controller,
ApplicationModels\AuthorizationApplicationModelProvider.cs (1)
42foreach (var controllerModel in context.Result.Controllers)
ApplicationModels\ControllerActionDescriptorBuilder.cs (5)
28ControllerModel controller, 54private static void AddControllerPropertyDescriptors(ActionDescriptor actionDescriptor, ControllerModel controller) 103ControllerModel controller, 148ControllerModel controller, 214ControllerModel controller,
ApplicationModels\ControllerModel.cs (5)
20/// Initializes a new instance of <see cref="ControllerModel"/>. 44/// Initializes a new instance of <see cref="ControllerModel"/>. 47public ControllerModel(ControllerModel other) 80/// <see cref="ControllerModel.ApiExplorer"/> allows configuration of settings for ApiExplorer 83/// Settings applied by <see cref="ControllerModel.ApiExplorer"/> override settings from
ApplicationModels\DefaultApplicationModelProvider.cs (5)
54var controllerModel = CreateControllerModel(controllerType); 105/// Creates a <see cref="ControllerModel"/> for the given <see cref="TypeInfo"/>. 108/// <returns>A <see cref="ControllerModel"/> for the given <see cref="TypeInfo"/>.</returns> 109internal static ControllerModel CreateControllerModel(TypeInfo typeInfo) 160var controllerModel = new ControllerModel(typeInfo, attributes);
ApplicationModels\IControllerModelConvention.cs (4)
7/// Allows customization of the <see cref="ControllerModel"/>. 20/// Called to apply the convention to the <see cref="ControllerModel"/>. 22/// <param name="controller">The <see cref="ControllerModel"/>.</param> 23void Apply(ControllerModel controller);
ApplicationModels\PropertyModel.cs (3)
11/// A type which is used to represent a property in a <see cref="ControllerModel"/>. 44/// Gets or sets the <see cref="ControllerModel"/> this <see cref="PropertyModel"/> is associated with. 46public ControllerModel Controller { get; set; } = default!;
DependencyInjection\ApplicationModelConventionExtensions.cs (3)
132foreach (var controller in controllers) 190foreach (var controller in controllers) 218foreach (var controller in controllers)
Microsoft.AspNetCore.Mvc.Cors (1)
CorsApplicationModelProvider.cs (1)
45foreach (var controllerModel in context.Result.Controllers)
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
Filters\AntiforgeryApplicationModelProvider.cs (1)
28foreach (var controllerModel in context.Result.Controllers)
Filters\TempDataApplicationModelProvider.cs (1)
32foreach (var controllerModel in context.Result.Controllers)
Filters\ViewDataAttributeApplicationModelProvider.cs (1)
24foreach (var controllerModel in context.Result.Controllers)