1 write to Identity
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\ModelMetadata.cs (1)
57Identity = identity;
17 references to Identity
Microsoft.AspNetCore.Mvc.Abstractions (14)
ModelBinding\ModelMetadata.cs (14)
69public Type? ContainerType => Identity.ContainerType; 86public ModelMetadataKind MetadataKind => Identity.MetadataKind; 91public Type ModelType => Identity.ModelType; 97public string? Name => Identity.Name; 102public string? ParameterName => MetadataKind == ModelMetadataKind.Parameter ? Identity.Name : null; 107public string? PropertyName => MetadataKind == ModelMetadataKind.Property ? Identity.Name : null; 725return Identity.Equals(other.Identity); 741_hashCode = Identity.GetHashCode(); 754HasDefaultValue = MetadataKind == ModelMetadataKind.Parameter && Identity.ParameterInfo!.HasDefaultValue; 759ModelMetadataKind.Parameter => Identity.ParameterInfo != null ? nullabilityContext.Create(Identity.ParameterInfo!) : null, 760ModelMetadataKind.Property => Identity.PropertyInfo != null ? nullabilityContext.Create(Identity.PropertyInfo!) : null,
Microsoft.AspNetCore.Mvc.Core (3)
ModelBinding\Metadata\DefaultModelMetadata.cs (3)
96var context = new BindingMetadataProviderContext(Identity, _details.ModelAttributes); 122var context = new DisplayMetadataProviderContext(Identity, _details.ModelAttributes); 143var context = new ValidationMetadataProviderContext(Identity, _details.ModelAttributes);