4 overrides of PropertyGetter
Microsoft.AspNetCore.Grpc.Swagger (1)
Internal\GrpcModelMetadata.cs (1)
46public override Func<object, object> PropertyGetter { get; }
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelMetadataTest.cs (1)
748public override Func<object, object> PropertyGetter
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointModelMetadata.cs (1)
46public override Func<object, object>? PropertyGetter { get; }
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
548public override Func<object, object?>? PropertyGetter => _details.PropertyGetter;
13 references to PropertyGetter
Microsoft.AspNetCore.Mvc.Core (6)
ModelBinding\Binders\ComplexObjectModelBinder.cs (2)
447if (property.PropertyGetter != null && 451propertyModel = property.PropertyGetter(bindingContext.Model!);
ModelBinding\Binders\ComplexTypeModelBinder.cs (2)
267if (property.PropertyGetter != null && 271propertyModel = property.PropertyGetter(bindingContext.Model);
ModelBinding\PropertyValueSetter.cs (1)
44var target = metadata.PropertyGetter!(instance);
ModelBinding\Validation\DefaultComplexObjectValidationStrategy.cs (1)
136return property.PropertyGetter!(container);
Microsoft.AspNetCore.Mvc.Core.Test (3)
ModelBinding\Metadata\DefaultModelMetadataProviderTest.cs (2)
194Assert.NotNull(property.PropertyGetter); 195Assert.Null(property.PropertyGetter(null));
ModelBinding\ModelBindingHelperTest.cs (1)
1516bindingContext.Model = modelMetadata.PropertyGetter(container);
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (2)
ModelMetadataProviderTest.cs (2)
766Assert.NotNull(metadata.PropertyGetter); 782Assert.NotNull(metadata.PropertyGetter);
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
ValidationIntegrationTests.cs (1)
1548if (otherProperty.PropertyGetter(container) == null)
ValidationWithRecordIntegrationTests.cs (1)
1358if (otherProperty.PropertyGetter(container) == null)