1 type derived from ModelMetadataTypeAttribute
Microsoft.AspNetCore.Mvc.Core (1)
ModelMetadataTypeOfTAttribute.cs (1)
13public class ModelMetadataTypeAttribute<T> : ModelMetadataTypeAttribute
5 instantiations of ModelMetadataTypeAttribute
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Metadata\ModelAttributesTest.cs (1)
351[ModelMetadataType(typeof(BaseModel))]
ModelBinding\Validation\DefaultModelValidatorProviderTest.cs (1)
235[ModelMetadataType(typeof(ProductEntity))]
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (1)
DefaultModelClientValidatorProviderTest.cs (1)
263[ModelMetadataType(typeof(ProductEntity))]
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
Models\ProductViewModel.cs (1)
8[ModelMetadataType(typeof(Product))]
Models\SoftwareViewModel.cs (1)
8[ModelMetadataType(typeof(Software))]
4 references to ModelMetadataTypeAttribute
Microsoft.AspNetCore.Mvc.Core (4)
ModelBinding\Metadata\ModelAttributes.cs (1)
228var modelMetadataTypeAttributes = type.GetCustomAttributes<ModelMetadataTypeAttribute>(inherit: false);
ModelMetadataTypeAttribute.cs (1)
13/// Initializes a new instance of the <see cref="ModelMetadataTypeAttribute" /> class.
ModelMetadataTypeOfTAttribute.cs (2)
9/// This is a derived generic variant of the <see cref="ModelMetadataTypeAttribute"/> 16/// Initializes a new instance of the <see cref="ModelMetadataTypeAttribute" /> class.