29 references to Type
Microsoft.AspNetCore.Mvc.Abstractions (2)
ModelBinding\Metadata\ModelMetadataIdentity.cs (1)
148
return ModelMetadataKind.
Type
;
ModelBinding\ModelMetadata.cs (1)
804
case ModelMetadataKind.
Type
:
Microsoft.AspNetCore.Mvc.Core (15)
ModelBinding\Binders\CollectionModelBinder.cs (1)
384
bindingContext.ModelMetadata.MetadataKind != ModelMetadataKind.
Type
?
ModelBinding\Binders\ComplexObjectModelBinder.cs (1)
207
case ModelMetadataKind.
Type
:
ModelBinding\Binders\ComplexTypeModelBinder.cs (1)
496
case ModelMetadataKind.
Type
:
ModelBinding\Metadata\DefaultModelMetadata.cs (3)
250
if (MetadataKind == ModelMetadataKind.
Type
)
268
if (MetadataKind == ModelMetadataKind.
Type
)
295
if (MetadataKind == ModelMetadataKind.
Type
)
ModelBinding\ModelBinderFactory.cs (1)
315
case ModelMetadataKind.
Type
:
ModelBinding\ParameterBinder.Log.cs (5)
37
case ModelMetadataKind.
Type
:
83
case ModelMetadataKind.
Type
:
129
case ModelMetadataKind.
Type
:
179
case ModelMetadataKind.
Type
:
227
case ModelMetadataKind.
Type
:
MvcCoreLoggerExtensions.cs (3)
138
case ModelMetadataKind.
Type
:
193
case ModelMetadataKind.
Type
:
231
case ModelMetadataKind.
Type
:
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
DataAnnotationsMetadataProvider.cs (2)
330
context.Key.MetadataKind != ModelMetadataKind.
Type
)
333
if (context.Key.MetadataKind == ModelMetadataKind.
Type
)
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
ViewDataDictionary.cs (2)
197
if (source.ModelMetadata.MetadataKind == ModelMetadataKind.
Type
&&
443
if (ModelMetadata.MetadataKind == ModelMetadataKind.
Type
&&
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (8)
ExpressionMetadataProviderTest.cs (8)
30
Assert.Equal(ModelMetadataKind.
Type
, explorer.Metadata.MetadataKind);
66
Assert.Equal(ModelMetadataKind.
Type
, explorer.Metadata.MetadataKind);
113
[InlineData(null, ModelMetadataKind.
Type
, typeof(TestModel))]
114
[InlineData("", ModelMetadataKind.
Type
, typeof(TestModel))]
116
[InlineData("SelectedCategory.CategoryName", ModelMetadataKind.
Type
, typeof(string))]
173
Assert.Equal(ModelMetadataKind.
Type
, explorer.Metadata.MetadataKind);
195
Assert.Equal(ModelMetadataKind.
Type
, explorer.Metadata.MetadataKind);
217
Assert.Equal(ModelMetadataKind.
Type
, explorer.Metadata.MetadataKind);