Class MessageFactory
- Namespace
- Skyline.DataMiner.Core.InterAppCalls.Common.CallSingle
- Assembly
- Skyline.DataMiner.Core.InterAppCalls.Common.dll
A static factory to create a single Message.
public static class MessageFactory
- Inheritance
-
MessageFactory
Methods
- CreateFromRaw(string, ISerializer)
Creates a message from a raw serialized string.
- CreateFromRaw(string, IEnumerable<Type>)
Creates a message from a raw serialized string.
- CreateFromRemote(IConnection, int, int, int, ISerializer)
Creates a message from the content of a remote parameter. The value of this parameter should contain a serialized message created with the InterAppSerializer.
- CreateFromRemote(IConnection, int, int, int, IEnumerable<Type>)
Creates a message from the content of a remote parameter. The value of this parameter should contain a serialized message created with the InterAppSerializer.
- CreateNew()
Creates an instance of Message with a new GUID created using the NewGuid().