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