Message Class
Represents a message
Inheritance Hierarchy
System.Object
TcHmiSrv.Core.Message
Namespace: TcHmiSrv.Core
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0
Syntax
C#
public class Message : IComparable<Message>,
ICopyable<Message>, IDeepCopyable<Message>, IShallowCopyable<Message>,
IEquatable<Message>, ILocalizable
The Message type exposes the following members.
Constructors
|
Name |
Description |
---|---|---|
|
Initializes a new instance of the Message class. | |
|
Initializes a new instance of the Message class with the specified parameters. |
Properties
|
Name |
Description |
---|---|---|
|
Contains the domain of the Message. | |
|
Gets a value that indicates whether the Message is set. | |
|
Contains the name of the language variable. | |
|
Gets the parameters of the localizable object. The names of the parameters must match the placeholders in the localization string. | |
|
Contains the Severity of the Message. | |
|
Contains the DateTime when the Message was raised. | |
|
Gets the ValueType of the localizable object that will be Message. |
Methods
|
Name |
Description |
---|---|---|
|
Compares the current Message with another Message and returns an integer that indicates whether the current Message precedes, follows, or occurs in the same position in the sort order as the other Message. | |
|
Creates a new object that is a deep copy of the current Message. | |
|
Determines whether the specified Object is equal to the current Message. (Overrides Object.Equals(Object).) | |
|
Indicates whether the current Message is equal to another Message. | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
|
Serves as the default hash function. (Overrides Object.GetHashCode..) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Creates a new Message that is a shallow copy of the current Message. | |
|
Returns a String that represents the Name of the current Message. (Overrides Object.ToString..) |
Operators
|
Name |
Description |
---|---|---|
|
Determines whether two instances of the Message class are equal. | |
|
Determines whether the current instance of the Message class is greater than another instance. | |
|
Determines whether the current instance of the Message class is greater than or equal to another instance. | |
|
Determines whether two instances of the Message class are not equal. | |
|
Determines whether the current instance of the Message class is less than another instance. | |
|
Determines whether the current instance of the Message class is less than or equal to another instance. |
Extension Methods
|
Name |
Description |
---|---|---|
|
Overloaded. Returns an unformatted JSON String that represents the current Message. (Defined by MessageExtensions.) | |
|
Overloaded. Returns an unformatted JSON String that represents the current Message. (Defined by MessageExtensions.) | |
|
Overloaded. Returns a JSON String that represents the current Message. (Defined by MessageExtensions.) |