12 writes to ResourceType
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (10)
DataAnnotationsMetadataProviderTest.cs (8)
379
ResourceType
= typeof(TestResources),
414
ResourceType
= typeof(TestResources),
449
ResourceType
= typeof(TestResources),
478
ResourceType
= typeof(TestResources),
513
ResourceType
= typeof(TestResources),
542
ResourceType
= typeof(TestResources),
1791
[Display(Name = nameof(TestResources.Type_Three_Name),
ResourceType
= typeof(TestResources))]
1820
[Display(Name = nameof(TestResources.DisplayAttribute_Name),
ResourceType
= typeof(TestResources))]
ModelMetadataProviderTest.cs (2)
447
ResourceType
= typeof(TestResources),
473
ResourceType
= typeof(TestResources),
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Rendering\HtmlHelperDisplayExtensionsTest.cs (1)
518
[Display(Name = "FaultedKey",
ResourceType
= typeof(StatusResource))]
Rendering\HtmlHelperSelectTest.cs (1)
1671
[Display(Name = nameof(TestResources.DisplayAttribute_Name),
ResourceType
= typeof(TestResources))]
41 references to ResourceType
Microsoft.AspNetCore.Mvc.DataAnnotations (4)
DataAnnotationsMetadataProvider.cs (4)
108
displayAttribute.
ResourceType
== null)
130
displayAttribute.
ResourceType
== null)
258
displayAttribute.
ResourceType
== null)
398
if (stringLocalizer != null && !string.IsNullOrEmpty(name) && display.
ResourceType
== null)
System.ComponentModel.Annotations (37)
System\ComponentModel\DataAnnotations\DisplayAttribute.cs (37)
12
/// <see cref="
ResourceType
" />
49
/// to be used in conjunction with <see cref="
ResourceType
" /> to configure a localized
53
/// string or the localized string when <see cref="
ResourceType
" /> has been specified.
74
/// to be used in conjunction with <see cref="
ResourceType
" /> to configure a localized
78
/// string or the localized string when <see cref="
ResourceType
" /> has been specified.
99
/// to be used in conjunction with <see cref="
ResourceType
" /> to configure a localized
103
/// string or the localized string when <see cref="
ResourceType
" /> has been specified.
124
/// to be used in conjunction with <see cref="
ResourceType
" /> to configure a localized
128
/// string or the localized string when <see cref="
ResourceType
" /> has been specified.
149
/// to be used in conjunction with <see cref="
ResourceType
" /> to configure a localized
153
/// string or the localized string when <see cref="
ResourceType
" /> has been specified.
169
/// Using <see cref="
ResourceType
" /> along with these Key properties, allows the <see cref="GetShortName" />,
285
/// localized string found when <see cref="
ResourceType
" /> has been specified and <see cref="ShortName" />
290
/// When <see cref="
ResourceType
" /> has not been specified, the value of
293
/// When <see cref="
ResourceType
" /> has been specified and <see cref="ShortName" />
301
/// After setting both the <see cref="
ResourceType
" /> property and the <see cref="ShortName" /> property,
303
/// on the <see cref="
ResourceType
" />.
311
/// localized string found when <see cref="
ResourceType
" /> has been specified and <see cref="Name" />
316
/// When <see cref="
ResourceType
" /> has not been specified, the value of
319
/// When <see cref="
ResourceType
" /> has been specified and <see cref="Name" />
328
/// After setting both the <see cref="
ResourceType
" /> property and the <see cref="Name" /> property,
330
/// on the <see cref="
ResourceType
" />.
338
/// localized string found when <see cref="
ResourceType
" /> has been specified and <see cref="Description" />
343
/// When <see cref="
ResourceType
" /> has not been specified, the value of
346
/// When <see cref="
ResourceType
" /> has been specified and <see cref="Description" />
351
/// After setting both the <see cref="
ResourceType
" /> property and the <see cref="Description" /> property,
353
/// on the <see cref="
ResourceType
" />.
361
/// localized string found when <see cref="
ResourceType
" /> has been specified and <see cref="Prompt" />
366
/// When <see cref="
ResourceType
" /> has not been specified, the value of
369
/// When <see cref="
ResourceType
" /> has been specified and <see cref="Prompt" />
374
/// After setting both the <see cref="
ResourceType
" /> property and the <see cref="Prompt" /> property,
376
/// on the <see cref="
ResourceType
" />.
384
/// localized string found when <see cref="
ResourceType
" /> has been specified and <see cref="GroupName" />
389
/// When <see cref="
ResourceType
" /> has not been specified, the value of
392
/// When <see cref="
ResourceType
" /> has been specified and <see cref="GroupName" />
397
/// After setting both the <see cref="
ResourceType
" /> property and the <see cref="GroupName" /> property,
399
/// on the <see cref="
ResourceType
" />.