2 instantiations of PropertyModel
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\ControllerModel.cs (1)
67
new List<PropertyModel>(other.ControllerProperties.Select(p => new
PropertyModel
(p) { Controller = this }));
ApplicationModels\DefaultApplicationModelProvider.cs (1)
238
var propertyModel = new
PropertyModel
(propertyInfo, attributes)
16 references to PropertyModel
Microsoft.AspNetCore.Mvc.Core (16)
ApplicationModels\ApplicationModelConventions.cs (1)
87
foreach (
var
property in properties)
ApplicationModels\ControllerActionDescriptorBuilder.cs (1)
87
private static ParameterDescriptor CreateParameterDescriptor(
PropertyModel
propertyModel)
ApplicationModels\ControllerModel.cs (3)
36
ControllerProperties = new List<
PropertyModel
>();
67
new List<
PropertyModel
>(other.ControllerProperties.Select(p => new PropertyModel(p) { Controller = this }));
115
public IList<
PropertyModel
> ControllerProperties { get; }
ApplicationModels\DefaultApplicationModelProvider.cs (5)
66
var
propertyModel = CreatePropertyModel(propertyInfo);
207
/// Creates a <see cref="
PropertyModel
"/> for the given <see cref="PropertyInfo"/>.
210
/// <returns>A <see cref="
PropertyModel
"/> for the given <see cref="PropertyInfo"/>.</returns>
211
internal
PropertyModel
CreatePropertyModel(PropertyInfo propertyInfo)
238
var
propertyModel = new PropertyModel(propertyInfo, attributes)
ApplicationModels\PropertyModel.cs (6)
17
/// Creates a new instance of <see cref="
PropertyModel
"/>.
30
/// Creates a new instance of <see cref="
PropertyModel
"/> from a given <see cref="
PropertyModel
"/>.
32
/// <param name="other">The <see cref="
PropertyModel
"/> which needs to be copied.</param>
33
public PropertyModel(
PropertyModel
other)
44
/// Gets or sets the <see cref="ControllerModel"/> this <see cref="
PropertyModel
"/> is associated with.