2 types derived from BaseModel
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Metadata\ModelAttributesTest.cs (2)
319
private class DerivedModel :
BaseModel
333
private class DerivedModelWithAttributes :
BaseModel
12 references to BaseModel
Microsoft.AspNetCore.Mvc.Core.Test (12)
ModelBinding\Metadata\ModelAttributesTest.cs (12)
16
var property = modelType.GetRuntimeProperties().FirstOrDefault(p => p.Name == nameof(
BaseModel
.BaseProperty));
34
var property = modelType.GetRuntimeProperties().FirstOrDefault(p => p.Name == nameof(
BaseModel
.TestProperty));
64
var property = modelType.GetRuntimeProperties().FirstOrDefault(p => p.Name == nameof(
BaseModel
.BaseProperty));
82
var property = modelType.GetRuntimeProperties().FirstOrDefault(p => p.Name == nameof(
BaseModel
.TestProperty));
102
var property = modelType.GetRuntimeProperties().FirstOrDefault(p => p.Name == nameof(
BaseModel
.VirtualProperty));
120
var property = modelType.GetRuntimeProperties().FirstOrDefault(p => p.Name == nameof(
BaseModel
.RouteValue));
295
var property = modelType.GetRuntimeProperties().FirstOrDefault(p => p.Name == nameof(
BaseModel
.RouteValue));
337
[ModelMetadataType<
BaseModel
>]
350
[ModelMetadataType<
BaseModel
>]
351
[ModelMetadataType(typeof(
BaseModel
))]
384
public
BaseModel
BaseModel { get; set; }
410
[BindRequired]
BaseModel
mergedAttributes)