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