Show / Hide Table of Contents

Class ResultMessage

Represents an error, warning, or informational message to be displayed to the user.

Inheritance
object
ResultMessage
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public class ResultMessage

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

string message

text of message

Properties

DisplayMessage

Gets the message to be displayed.

Declaration
public string DisplayMessage { get; }
Property Value
Type Description
string

Text

Gets or sets the text of the message.

Declaration
public string Text { get; set; }
Property Value
Type Description
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
string

Extension Methods

Extensions.Yield<T>(T)
In this article
Back to top Generated by DocFX