Class ResultMessage
Represents an error, warning, or informational message to be displayed to the user.
Inheritance
System.Object
ResultMessage
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public class ResultMessage : object
Constructors
ResultMessage()
Initializes a new instance of the ResultMessage class.
Declaration
public ResultMessage()
ResultMessage(HarmonizationError)
Initializes a new instance of the ResultMessage class.
Declaration
public ResultMessage(HarmonizationError error)
Parameters
Type | Name | Description |
---|---|---|
HarmonizationError | error | A HarmonizationError object for which a message will be created. |
ResultMessage(MessageType, String)
Initializes a new instance of the ResultMessage class.
Declaration
public ResultMessage(MessageType type, string message)
Parameters
Type | Name | Description |
---|---|---|
MessageType | type | Message level |
System.String | message | text of message |
Properties
DisplayMessage
Gets the message to be displayed.
Declaration
public string DisplayMessage { get; }
Property Value
Type | Description |
---|---|
System.String |
Text
Gets or sets the text of the message.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Type
Gets or sets the type of the message.
Declaration
public MessageType Type { get; set; }
Property Value
Type | Description |
---|---|
MessageType |
TypeImageSource
Gets the name of the image to be displayed with the message.
Declaration
public string TypeImageSource { get; }
Property Value
Type | Description |
---|---|
System.String |