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