4 overrides of PropertySetter
Microsoft.AspNetCore.Grpc.Swagger (1)
Internal\GrpcModelMetadata.cs (1)
47public override Action<object, object> PropertySetter { get; }
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelMetadataTest.cs (1)
756public override Action<object, object> PropertySetter
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointModelMetadata.cs (1)
47public override Action<object, object?>? PropertySetter { get; }
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
551public override Action<object, object?>? PropertySetter => _details.PropertySetter;
5 references to PropertySetter
Microsoft.AspNetCore.Mvc.Core (3)
ModelBinding\Binders\ComplexObjectModelBinder.cs (1)
706propertyMetadata.PropertySetter!(bindingContext.Model!, value);
ModelBinding\Binders\ComplexTypeModelBinder.cs (1)
544propertyMetadata.PropertySetter(bindingContext.Model, value);
ModelBinding\PropertyValueSetter.cs (1)
25metadata.PropertySetter!(instance, value);
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (2)
ModelMetadataProviderTest.cs (2)
765Assert.NotNull(metadata.PropertySetter); 781Assert.Null(metadata.PropertySetter);