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