9 writes to ErrorMessageResourceType
Aspire.Dashboard (5)
Model\Otlp\FilterDialogFormModel.cs (4)
11[Required(ErrorMessageResourceType = typeof(Dialogs), ErrorMessageResourceName = nameof(Dialogs.FieldRequired))] 14[Required(ErrorMessageResourceType = typeof(Dialogs), ErrorMessageResourceName = nameof(Dialogs.FieldRequired))] 19[Required(ErrorMessageResourceType = typeof(Dialogs), ErrorMessageResourceName = nameof(Dialogs.FieldRequired))] 20[MaxLength(1024, ErrorMessageResourceType = typeof(Dialogs), ErrorMessageResourceName = nameof(Dialogs.FieldTooLong))]
Model\TokenFormModel.cs (1)
11[Required(ErrorMessageResourceType = typeof(Login), ErrorMessageResourceName = nameof(Login.TokenRequiredErrorMessage))]
Microsoft.AspNetCore.Mvc.DataAnnotations (1)
CompareAttributeAdapter.cs (1)
65ErrorMessageResourceType = attribute.ErrorMessageResourceType;
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (1)
CompareAttributeAdapterTest.cs (1)
177ErrorMessageResourceType = typeof(DataAnnotations.Test.Resources),
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
RemoteAttributeBaseTest.cs (2)
86ErrorMessageResourceType = typeof(Resources) 308ErrorMessageResourceType = typeof(Resources),
11 references to ErrorMessageResourceType
Microsoft.AspNetCore.Mvc.DataAnnotations (4)
CompareAttributeAdapter.cs (2)
61attribute.ErrorMessageResourceType != null) 65ErrorMessageResourceType = attribute.ErrorMessageResourceType;
DataAnnotationsModelValidator.cs (1)
90Attribute.ErrorMessageResourceType == null)
ValidationAttributeAdapterOfTAttribute.cs (1)
72Attribute.ErrorMessageResourceType == null)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
RemoteAttributeBase.cs (1)
198ErrorMessageResourceType == null)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
RemoteAttributeBaseTest.cs (1)
41Assert.Null(attribute.ErrorMessageResourceType);
System.ComponentModel.Annotations (5)
System\ComponentModel\DataAnnotations\ValidationAttribute.cs (5)
16/// The properties <see cref="ErrorMessageResourceType" /> and <see cref="ErrorMessageResourceName" /> are used to 85/// or the <see cref="ErrorMessageResourceType"/> and <see cref="ErrorMessageResourceName"/> pair. 117/// <see cref="ErrorMessageResourceType" /> and <see cref="ErrorMessageResourceName" /> pair. 150/// <see cref="ErrorMessageResourceType" /> and <see cref="ErrorMessageResourceName" /> for localizable error messages. 176/// Use this property to set the name of the property within <see cref="ErrorMessageResourceType" />