Class ValidationMessageList
Represents a list of various validation messages.
Inheritance
System.Object
ValidationMessageList
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 |
---|---|
System.Collections.Generic.IEnumerable<System.String> | The collection of errors. |
HasErrors
Determines if there are errors.
Declaration
public bool HasErrors { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
HasInfos
Determines if there are infos.
Declaration
public bool HasInfos { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
HasWarnings
Determines if there are warnings.
Declaration
public bool HasWarnings { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Infos
The collection of infos.
Declaration
public IEnumerable<string> Infos { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | The collection of infos. |
Warnings
The collection of warnings.
Declaration
public IEnumerable<string> Warnings { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> | The collection of warnings. |
Methods
AddError(String)
Adds an error message.
Declaration
public void AddError(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message. |
AddInfo(String)
Adds an info message.
Declaration
public void AddInfo(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The info message. |
AddWarning(String)
Adds a warning message.
Declaration
public void AddWarning(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The warning message. |
Clear()
Removes all messages.
Declaration
public void Clear()