Class MessageType
Represents a message type.
public class MessageType
- Inheritance
-
MessageType
- Inherited Members
Properties
Id
Gets the unique identifier of the message type.
public uint Id { get; }
Property Value
Name
Gets the name of the message type.
public string Name { get; }
Property Value
Methods
Get(string)
Gets the message type with the specified name. If the message type does not exist, a new one is created and added to the list of message types.
public static MessageType Get(string name)
Parameters
name
stringThe name of the message type.
Returns
- MessageType
The message type with the specified name.
Get(uint)
Gets the message type with the specified identifier.
public static MessageType Get(uint id)
Parameters
id
uintThe identifier of the message type.
Returns
- MessageType
The message type with the specified identifier.