Class ValidationMessageList
Represents a list of various validation messages.
Namespace: AlchemyBow.Core.Editor.Wizards
Assembly: AlchemyBow.Core.Editor.dll
Syntax
public sealed class ValidationMessageList
Properties
Errors
The collection of errors.
Declaration
public IEnumerable<string> Errors { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> | The collection of errors. |
HasErrors
Determines if there are errors.
Declaration
public bool HasErrors { get; }
Property Value
Type | Description |
---|---|
bool |
|
HasInfos
Determines if there are infos.
Declaration
public bool HasInfos { get; }
Property Value
Type | Description |
---|---|
bool |
|
HasWarnings
Determines if there are warnings.
Declaration
public bool HasWarnings { get; }
Property Value
Type | Description |
---|---|
bool |
|
Infos
The collection of infos.
Declaration
public IEnumerable<string> Infos { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> | The collection of infos. |
Warnings
The collection of warnings.
Declaration
public IEnumerable<string> Warnings { get; }
Property Value
Type | Description |
---|---|
IEnumerable<string> | The collection of warnings. |
Methods
AddError(string)
Adds an error message.
Declaration
public void AddError(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message. |
AddInfo(string)
Adds an info message.
Declaration
public void AddInfo(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The info message. |
AddWarning(string)
Adds a warning message.
Declaration
public void AddWarning(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The warning message. |
Clear()
Removes all messages.
Declaration
public void Clear()