1 implementation of DisplayDetails
Microsoft.AspNetCore.Mvc.Core.TestCommon (1)
TestModelMetadataProvider.cs (1)
237
public IMetadataBuilder
DisplayDetails
(Action<DisplayMetadata> action)
43 references to DisplayDetails
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Binders\SimpleTypeModelBinderTest.cs (1)
52
.
DisplayDetails
(d => d.ConvertEmptyStringToNull = false);
Microsoft.AspNetCore.Mvc.TagHelpers.Test (5)
InputTagHelperTest.cs (4)
1279
metadataProvider.ForProperty<Model>("Text").
DisplayDetails
(dd => dd.DataTypeName = dataTypeName);
1445
metadataProvider.ForProperty<Model>("Text").
DisplayDetails
(dd => dd.DataTypeName = dataTypeName);
1657
metadataProvider.ForProperty<Model>("Text").
DisplayDetails
(dd => dd.DataTypeName = dataTypeName);
1772
metadataProvider.ForProperty<Model>("Text").
DisplayDetails
(dd => dd.DataTypeName = dataTypeName);
LabelTagHelperTest.cs (1)
287
.
DisplayDetails
(metadata => metadata.DisplayName = () => displayName);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (37)
DefaultDisplayTemplatesTest.cs (4)
70
provider.ForType<DefaultTemplatesUtilities.ObjectTemplateModel>().
DisplayDetails
(dd =>
96
provider.ForType<DefaultTemplatesUtilities.ObjectTemplateModel>().
DisplayDetails
(dd =>
153
provider.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1").
DisplayDetails
(dd =>
235
provider.ForType<string>().
DisplayDetails
(dd =>
DefaultEditorTemplatesTest.cs (14)
227
.
DisplayDetails
(dd => dd.DisplayName = () => string.Empty);
286
provider.ForType<DefaultTemplatesUtilities.ObjectTemplateModel>().
DisplayDetails
(dd =>
318
provider.ForType<DefaultTemplatesUtilities.ObjectTemplateModel>().
DisplayDetails
(dd =>
385
provider.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1").
DisplayDetails
(dd =>
475
provider.ForType<string>().
DisplayDetails
(dd =>
646
provider.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1").
DisplayDetails
(dd =>
689
provider.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1").
DisplayDetails
(dd =>
731
provider.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1").
DisplayDetails
(dd =>
774
provider.ForProperty<DefaultTemplatesUtilities.ObjectTemplateModel>("Property1").
DisplayDetails
(dd =>
919
provider.ForType<DateTimeOffset>().
DisplayDetails
(dd =>
990
provider.ForType<DateTimeOffset>().
DisplayDetails
(dd =>
1060
provider.ForType<DateTime>().
DisplayDetails
(dd =>
1129
provider.ForType<DateTime>().
DisplayDetails
(dd =>
1195
provider.ForType<DateTimeOffset>().
DisplayDetails
(dd =>
RemoteAttributeBaseTest.cs (2)
351
.
DisplayDetails
(d => d.DisplayName = () => "Display Length");
391
.
DisplayDetails
(d => d.DisplayName = () => "Display Length");
Rendering\HtmlHelperDisplayNameExtensionsTest.cs (2)
96
.
DisplayDetails
(dd => dd.DisplayName = () => displayName);
123
.
DisplayDetails
(dd => dd.DisplayName = () => displayName);
Rendering\HtmlHelperDisplayTextTest.cs (5)
46
provider.ForType<OverriddenToStringModel>().
DisplayDetails
(dd =>
65
provider.ForType<OverriddenToStringModel>().
DisplayDetails
(dd =>
133
provider.ForType<OverriddenToStringModel>().
DisplayDetails
(dd =>
157
provider.ForType<OverriddenToStringModel>().
DisplayDetails
(dd =>
182
provider.ForType<OverriddenToStringModel>().
DisplayDetails
(dd =>
Rendering\HtmlHelperLabelExtensionsTest.cs (10)
157
.
DisplayDetails
(dd => dd.DisplayName = () => string.Empty);
185
.
DisplayDetails
(dd => dd.DisplayName = () => string.Empty);
211
.
DisplayDetails
(dd => dd.DisplayName = () => string.Empty);
237
.
DisplayDetails
(dd => dd.DisplayName = () => string.Empty);
263
.
DisplayDetails
(dd => dd.DisplayName = () => displayName);
289
.
DisplayDetails
(dd => dd.DisplayName = () => string.Empty);
319
.
DisplayDetails
(dd => dd.DisplayName = () => string.Empty);
340
.
DisplayDetails
(dd => dd.DisplayName = () => string.Empty);
364
.
DisplayDetails
(dd => dd.DisplayName = () => string.Empty);
388
.
DisplayDetails
(dd => dd.DisplayName = () => displayName);