10 references to PropertyModel
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\DefaultApplicationModelProvider.cs (1)
237
var propertyModel = new
PropertyModel
(propertyInfo, attributes)
Microsoft.AspNetCore.Mvc.Core.Test (9)
ApplicationModels\ControllerActionDescriptorBuilderTest.cs (2)
23
new
PropertyModel
(
32
new
PropertyModel
(
ApplicationModels\ControllerModelTest.cs (2)
25
controller.ControllerProperties.Add(new
PropertyModel
(
81
new
PropertyModel
(typeof(TestController).GetProperty("TestProperty"), new List<object>()));
ApplicationModels\PropertyModelTest.cs (1)
15
var propertyModel = new
PropertyModel
(typeof(TestController).GetProperty("Property"),
DependencyInjection\ApplicationModelConventionExtensionsTest.cs (4)
99
new
PropertyModel
(property1, Array.Empty<object>()),
119
new
PropertyModel
(property2, Array.Empty<object>()),
261
new
PropertyModel
(controllerType.GetProperty(nameof(HelloController.Property1)), Array.Empty<object>())
287
new
PropertyModel
(controllerType.GetProperty(nameof(HelloController.Property1)), new[] { propertyModelConvention })