Skip to main content
.NET 6.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