Class UIValidationMessage
- Namespace
- GroupeIsa.Neos.Designer.UIAbstractions
- Assembly
- GroupeIsa.Neos.Designer.UIAbstractions.dll
Represents an UI validation message.
[ExcludeFromCodeCoverage]
public class UIValidationMessage : IUIValidationMessage
- Inheritance
-
UIValidationMessage
- Implements
- Inherited Members
Constructors
UIValidationMessage(ValidationRuleSeverityLevel, string)
Initializes a new instance of the UIValidationMessage class.
public UIValidationMessage(ValidationRuleSeverityLevel severityLevel, string text)
Parameters
severityLevelValidationRuleSeverityLevelSeverity level.
textstringText.
UIValidationMessage(string, ValidationRuleSeverityLevel, string)
Initializes a new instance of the UIValidationMessage class.
public UIValidationMessage(string propertyName, ValidationRuleSeverityLevel severityLevel, string text)
Parameters
propertyNamestringProperty name.
severityLevelValidationRuleSeverityLevelSeverity level.
textstringText.
Properties
Message
Gets the message.
[Obsolete("Use Text property instead.")]
public string Message { get; }
Property Value
PropertyName
Gets or sets the property name.
public string? PropertyName { get; set; }
Property Value
SeverityLevel
Gets or sets the severity level.
public ValidationRuleSeverityLevel SeverityLevel { get; set; }
Property Value
ShortText
Gets or sets the short text.
public string? ShortText { get; set; }
Property Value
Text
Gets or sets the text.
public string Text { get; set; }