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