6 writes to Controller
Microsoft.AspNetCore.Mvc.Core (3)
ApplicationModels\ControllerModel.cs (1)
67new List<PropertyModel>(other.ControllerProperties.Select(p => new PropertyModel(p) { Controller = this }));
ApplicationModels\DefaultApplicationModelProvider.cs (1)
68propertyModel.Controller = controllerModel;
ApplicationModels\PropertyModel.cs (1)
38Controller = other.Controller;
Microsoft.AspNetCore.Mvc.Core.Test (3)
ApplicationModels\PropertyModelTest.cs (1)
18propertyModel.Controller = new ControllerModel(typeof(TestController).GetTypeInfo(), new List<object>());
DependencyInjection\ApplicationModelConventionExtensionsTest.cs (2)
263Controller = controllerModel 289Controller = controllerModel
12 references to Controller
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\PropertyModel.cs (1)
38Controller = other.Controller;
Microsoft.AspNetCore.Mvc.Core.Test (11)
ApplicationModels\ControllerModelTest.cs (2)
56Assert.NotSame(controller, controller2.ControllerProperties[0].Controller); 57Assert.Same(controller2, controller2.ControllerProperties[0].Controller);
ApplicationModels\DefaultApplicationModelProviderTest.cs (8)
82Assert.Same(controllerModel, property.Controller); 91Assert.Same(controllerModel, property.Controller); 99Assert.Same(controllerModel, property.Controller); 108Assert.Same(controllerModel, property.Controller); 134Assert.Same(controllerModel, property.Controller); 143Assert.Same(controllerModel, property.Controller); 151Assert.Same(controllerModel, property.Controller); 160Assert.Same(controllerModel, property.Controller);
DependencyInjection\ApplicationModelConventionExtensionsTest.cs (1)
483property.Controller.ControllerProperties.Remove(property);