.NET Core 3.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

GenerateMessageTemplatesModelAttribute Properties

Applied to interfaces derived from IRuleBaseProperties. Specifies that message templates for string properties whose names start with "MessageTemplate" are generated automatically.
Name Description
MessageTemplatePropertyName Specifies the name of the validation rule.
TypeId When implemented in a derived class, gets a unique identifier for this Attribute. Inherited from Attribute.
See Also