1 write to ModelType
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\Metadata\ModelMetadataIdentity.cs (1)
20
ModelType
= modelType;
19 references to ModelType
Microsoft.AspNetCore.Mvc.Abstractions (4)
ModelBinding\Metadata\ModelMetadataIdentity.cs (3)
184
ModelType
== other.
ModelType
&&
203
hash.Add(
ModelType
);
ModelBinding\ModelMetadata.cs (1)
91
public Type ModelType => Identity.
ModelType
;
Microsoft.AspNetCore.Mvc.Core (11)
ModelBinding\Metadata\BindingSourceMetadataProvider.cs (1)
47
if (Type.IsAssignableFrom(context.Key.
ModelType
))
ModelBinding\Metadata\DefaultBindingMetadataProvider.cs (1)
74
if (GetBoundConstructor(context.Key.
ModelType
) is ConstructorInfo constructorInfo)
ModelBinding\Metadata\DefaultModelMetadataProvider.cs (5)
335
var propertyHelpers = PropertyHelper.GetVisibleProperties(key.
ModelType
);
345
key.
ModelType
);
364
propertyKey.
ModelType
);
399
ModelAttributes.GetAttributesForType(key.
ModelType
));
413
ModelAttributes.GetAttributesForParameter(key.ParameterInfo!, key.
ModelType
));
ModelBinding\Metadata\ExcludeBindingMetadataProvider.cs (1)
36
if (!_type.IsAssignableFrom(context.Key.
ModelType
))
ModelBinding\Metadata\HasValidatorsValidationMetadataProvider.cs (1)
37
if (provider.HasValidators(context.Key.
ModelType
, context.ValidationMetadata.ValidatorMetadata))
ModelBinding\SuppressChildValidationMetadataProvider.cs (2)
62
if (Type.IsAssignableFrom(context.Key.
ModelType
))
72
if (IsMatchingName(context.Key.
ModelType
))
Microsoft.AspNetCore.Mvc.DataAnnotations (4)
DataAnnotationsMetadataProvider.cs (4)
96
var containerType = context.Key.ContainerType ?? context.Key.
ModelType
;
159
var underlyingType = Nullable.GetUnderlyingType(context.Key.
ModelType
) ?? context.Key.
ModelType
;
329
!context.Key.
ModelType
.IsValueType &&