Skip to content

ValidationRuleMessage.GetDefaultText method

Gets the invariant text of a default message, for when the local texts are not registered, e.g. in a unit test.

public static string? GetDefaultText(string key)
parameter description
key The local text key of the message, e.g. Validation.Range.

See Also