4 writes to ControllerProperties
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\ControllerModel.cs (2)
36
ControllerProperties
= new List<PropertyModel>();
66
ControllerProperties
=
Microsoft.AspNetCore.Mvc.Core.Test (2)
DependencyInjection\ApplicationModelConventionExtensionsTest.cs (2)
97
ControllerProperties
=
117
ControllerProperties
=
19 references to ControllerProperties
Microsoft.AspNetCore.Mvc.Core (4)
ApplicationModels\ApplicationModelConventions.cs (1)
86
var properties = controller.
ControllerProperties
.ToArray();
ApplicationModels\ControllerActionDescriptorBuilder.cs (1)
56
actionDescriptor.BoundProperties = controller.
ControllerProperties
ApplicationModels\ControllerModel.cs (1)
67
new List<PropertyModel>(other.
ControllerProperties
.Select(p => new PropertyModel(p) { Controller = this }));
ApplicationModels\DefaultApplicationModelProvider.cs (1)
69
controllerModel.
ControllerProperties
.Add(propertyModel);
Microsoft.AspNetCore.Mvc.Core.Test (15)
ApplicationModels\ControllerActionDescriptorBuilderTest.cs (2)
22
controller.
ControllerProperties
.Add(
31
controller.
ControllerProperties
.Add(
ApplicationModels\ControllerModelTest.cs (6)
25
controller.
ControllerProperties
.Add(new PropertyModel(
41
Assert.NotNull(controller2.
ControllerProperties
);
42
Assert.Single(controller2.
ControllerProperties
);
56
Assert.NotSame(controller, controller2.
ControllerProperties
[0].Controller);
57
Assert.Same(controller2, controller2.
ControllerProperties
[0].Controller);
80
controller.
ControllerProperties
.Add(
ApplicationModels\DefaultApplicationModelProviderTest.cs (2)
77
controllerModel.
ControllerProperties
.OrderBy(p => p.PropertyName),
129
controllerModel.
ControllerProperties
.OrderBy(p => p.PropertyName),
DependencyInjection\ApplicationModelConventionExtensionsTest.cs (5)
134
var kvp = Assert.Single(controllerModel1.
ControllerProperties
[0].Properties);
138
kvp = Assert.Single(controllerModel2.
ControllerProperties
[0].Properties);
260
controllerModel.
ControllerProperties
.Add(
286
controllerModel.
ControllerProperties
.Add(
483
property.Controller.
ControllerProperties
.Remove(property);