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