1 instantiation of ControllerModel
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\DefaultApplicationModelProvider.cs (1)
160
var 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
"/>.
100
public
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)
71
foreach (
var
controller in context.Result.Controllers)
117
private static bool IsApiController(
ControllerModel
controller)
ApplicationModels\ApiConventionApplicationModelConvention.cs (1)
62
var
controller = action.Controller;
ApplicationModels\ApplicationModel.cs (4)
21
Controllers = new List<
ControllerModel
>();
32
/// <see cref="
ControllerModel
.ApiExplorer"/> or <see cref="ActionModel.ApiExplorer"/>.
40
/// Gets the <see cref="
ControllerModel
"/> instances.
42
public IList<
ControllerModel
> Controllers { get; }
ApplicationModels\ApplicationModelConventions.cs (1)
34
foreach (
var
controller in controllers)
ApplicationModels\ApplicationModelFactory.cs (3)
56
Func<ApplicationModel,
ControllerModel
, ActionModel, SelectorModel, TResult> flattener)
65
foreach (
var
controller in application.Controllers)
119
ControllerModel
controller,
ApplicationModels\AuthorizationApplicationModelProvider.cs (1)
42
foreach (
var
controllerModel in context.Result.Controllers)
ApplicationModels\ControllerActionDescriptorBuilder.cs (5)
28
ControllerModel
controller,
54
private static void AddControllerPropertyDescriptors(ActionDescriptor actionDescriptor,
ControllerModel
controller)
103
ControllerModel
controller,
148
ControllerModel
controller,
214
ControllerModel
controller,
ApplicationModels\ControllerModel.cs (5)
20
/// Initializes a new instance of <see cref="
ControllerModel
"/>.
44
/// Initializes a new instance of <see cref="
ControllerModel
"/>.
47
public 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)
54
var
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>
109
internal static
ControllerModel
CreateControllerModel(TypeInfo typeInfo)
160
var
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>
23
void 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.
46
public
ControllerModel
Controller { get; set; } = default!;
DependencyInjection\ApplicationModelConventionExtensions.cs (3)
132
foreach (
var
controller in controllers)
190
foreach (
var
controller in controllers)
218
foreach (
var
controller in controllers)
Microsoft.AspNetCore.Mvc.Cors (1)
CorsApplicationModelProvider.cs (1)
45
foreach (
var
controllerModel in context.Result.Controllers)
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
Filters\AntiforgeryApplicationModelProvider.cs (1)
28
foreach (
var
controllerModel in context.Result.Controllers)
Filters\TempDataApplicationModelProvider.cs (1)
32
foreach (
var
controllerModel in context.Result.Controllers)
Filters\ViewDataAttributeApplicationModelProvider.cs (1)
24
foreach (
var
controllerModel in context.Result.Controllers)