2 types derived from BaseViewModel
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Metadata\ModelAttributesTest.cs (2)
352
private class InvalidBaseViewModel :
BaseViewModel
{ }
355
private class DerivedViewModel :
BaseViewModel
4 references to BaseViewModel
Microsoft.AspNetCore.Mvc.Core.Test (4)
ModelBinding\Metadata\ModelAttributesTest.cs (4)
15
var modelType = typeof(
BaseViewModel
);
33
var modelType = typeof(
BaseViewModel
);
137
var attributes = ModelAttributes.GetAttributesForType(typeof(
BaseViewModel
));
149
var attributes = ModelAttributes.GetAttributesForType(typeof(
BaseViewModel
));