2 overrides of IsReadOnly
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointModelMetadata.cs (1)
38
public override bool
IsReadOnly
{ get; }
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
289
public override bool
IsReadOnly
7 references to IsReadOnly
Microsoft.AspNetCore.Mvc.Core (7)
ModelBinding\Binders\ComplexObjectModelBinder.cs (2)
424
if (propertyMetadata.MetadataKind == ModelMetadataKind.Property && propertyMetadata.
IsReadOnly
)
696
if (propertyMetadata.
IsReadOnly
)
ModelBinding\Binders\ComplexTypeModelBinder.cs (2)
425
return !propertyMetadata.
IsReadOnly
|| CanUpdateReadOnlyProperty(propertyMetadata.ModelType);
534
if (propertyMetadata.
IsReadOnly
)
ModelBinding\Metadata\BindingMetadata.cs (2)
75
/// <see cref="ModelMetadata.
IsReadOnly
"/> will be computed based on the accessibility
76
/// of the property accessor and model <see cref="Type"/>. See <see cref="ModelMetadata.
IsReadOnly
"/>.
ModelBinding\PropertyValueSetter.cs (1)
20
if (!metadata.
IsReadOnly
)