4 overrides of ConvertEmptyStringToNull
Microsoft.AspNetCore.Grpc.Swagger (1)
Internal\GrpcModelMetadata.cs (1)
22public override bool ConvertEmptyStringToNull { get; }
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelMetadataTest.cs (1)
495public override bool ConvertEmptyStringToNull
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointModelMetadata.cs (1)
22public override bool ConvertEmptyStringToNull { get; }
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
176public override bool ConvertEmptyStringToNull => DisplayMetadata.ConvertEmptyStringToNull;
5 references to ConvertEmptyStringToNull
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Binders\SimpleTypeModelBinder.cs (1)
63if (bindingContext.ModelMetadata.ConvertEmptyStringToNull && string.IsNullOrWhiteSpace(value))
ModelBinding\Metadata\DisplayMetadata.cs (1)
25/// <see cref="ModelMetadata.ConvertEmptyStringToNull"/>
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (2)
ModelMetadataProviderTest.cs (2)
275metadata => metadata.ConvertEmptyStringToNull, 280metadata => metadata.ConvertEmptyStringToNull,
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
TemplateBuilder.cs (1)
61if (_metadata.ConvertEmptyStringToNull && string.Empty.Equals(_model))