Class Message<T>
- Namespace
- NominalSystems
- Assembly
- NominalSystems.Core.dll
[NominalSystems] Base Simulation message
public class Message<T> : Message where T : new()
Type Parameters
T
- Inheritance
-
Message<T>
- Derived
- Inherited Members
Constructors
Message()
public Message()
Fields
Payload
The value in the message
public T Payload
Field Value
- T
Properties
PayloadObject
The payload object of the message
public override object PayloadObject { get; set; }
Property Value
PayloadType
The payload type of the message
public override Type PayloadType { get; }
Property Value
Methods
ToString()
public override string ToString()
Returns
Operators
implicit operator T(Message<T>)
Implicit cast to 'T
'
public static implicit operator T(Message<T> a)
Parameters
a
Message<T>a 'Message'
Returns
- T