4 overrides of NullDisplayText
Microsoft.AspNetCore.Grpc.Swagger (1)
Internal\GrpcModelMetadata.cs (1)
41public override string NullDisplayText { get; }
Microsoft.AspNetCore.Mvc.Abstractions.Test (1)
ModelBinding\ModelMetadataTest.cs (1)
652public override string NullDisplayText
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointModelMetadata.cs (1)
41public override string? NullDisplayText { get; }
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultModelMetadata.cs (1)
340public override string? NullDisplayText => DisplayMetadata.NullDisplayTextProvider();
11 references to NullDisplayText
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\Metadata\DisplayMetadata.cs (2)
189/// See <see cref="ModelMetadata.NullDisplayText"/> 208/// See <see cref="ModelMetadata.NullDisplayText"/>.
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (1)
ModelMetadataProviderTest.cs (1)
210new DisplayFormatAttribute { NullDisplayText = "value" }, metadata => metadata.NullDisplayText
Microsoft.AspNetCore.Mvc.ViewFeatures (7)
DefaultDisplayTemplates.cs (1)
194return new HtmlString(modelExplorer.Metadata.NullDisplayText);
DefaultEditorTemplates.cs (1)
238return new HtmlString(modelExplorer.Metadata.NullDisplayText);
ModelExplorerExtensions.cs (2)
45return modelExplorer.Metadata.NullDisplayText; 84return firstProperty.Metadata.NullDisplayText;
Rendering\IHtmlHelper.cs (1)
247/// If the expression result is <c>null</c>, returns <see cref="ModelMetadata.NullDisplayText"/>.
Rendering\IHtmlHelperOfT.cs (1)
109/// <see cref="ModelBinding.ModelMetadata.NullDisplayText"/>.
TemplateBuilder.cs (1)
89formattedModelValue = _metadata.NullDisplayText;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
DefaultEditorTemplatesTest.cs (1)
301Assert.Equal(html.ViewData.ModelMetadata.NullDisplayText, HtmlContentUtilities.HtmlContentToString(result));