100 references to ModelMetadataKind
HtmlGenerationWebSite (3)
Microsoft.AspNetCore.Mvc.Abstractions (18)
Microsoft.AspNetCore.Mvc.Core (53)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Microsoft.AspNetCore.Mvc.DataAnnotations (6)
Microsoft.AspNetCore.Mvc.Formatters.Xml (1)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
Microsoft.AspNetCore.Mvc.Razor.Test (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (12)
ExpressionMetadataProviderTest.cs (12)
30Assert.Equal(ModelMetadataKind.Type, explorer.Metadata.MetadataKind);
48Assert.Equal(ModelMetadataKind.Property, explorer.Metadata.MetadataKind);
66Assert.Equal(ModelMetadataKind.Type, explorer.Metadata.MetadataKind);
88Assert.Equal(ModelMetadataKind.Property, explorer.Metadata.MetadataKind);
113[InlineData(null, ModelMetadataKind.Type, typeof(TestModel))]
114[InlineData("", ModelMetadataKind.Type, typeof(TestModel))]
115[InlineData("SelectedCategory", ModelMetadataKind.Property, typeof(Category))]
116[InlineData("SelectedCategory.CategoryName", ModelMetadataKind.Type, typeof(string))]
119ModelMetadataKind expectedKind,
173Assert.Equal(ModelMetadataKind.Type, explorer.Metadata.MetadataKind);
195Assert.Equal(ModelMetadataKind.Type, explorer.Metadata.MetadataKind);
217Assert.Equal(ModelMetadataKind.Type, explorer.Metadata.MetadataKind);