2 instantiations of Category
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
ExpressionMetadataProviderTest.cs (2)
97var myModel = new TestModel { SelectedCategory = new Category() }; 141var myModel = new TestModel { SelectedCategory = new Category() };
4 references to Category
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
ExpressionMetadataProviderTest.cs (4)
49Assert.Equal(typeof(Category), explorer.ModelType); 103var metadata = ExpressionMetadataProvider.FromLambdaExpression<TestModel, Category>( 115[InlineData("SelectedCategory", ModelMetadataKind.Property, typeof(Category))] 223public Category SelectedCategory { get; set; }