Class MessageBuilder
Used to easily write messages to a remote application.
Inherited Members
Namespace: HoloMetrix.Net.Remote
Assembly: HoloMetrix.Net.Remote.dll
Syntax
public static class MessageBuilder
Methods
| Improve this Doc View SourceWriteMessage(TargetApp, ISourceName, object, string)
Creates a message using a property.
Declaration
public static string WriteMessage(TargetApp targetApp, ISourceName targetObject, object identifier, string property)
Parameters
| Type | Name | Description |
|---|---|---|
| TargetApp | targetApp | Remote app. |
| ISourceName | targetObject | Remote object. |
| object | identifier | Remote object ID. |
| string | property | Property to be sent to remote object in remote app. |
Returns
| Type | Description |
|---|---|
| string |
WriteMessage(TargetApp, ISourceName, object, string, object)
Creates a message using a method and parameters.
Declaration
public static string WriteMessage(TargetApp targetApp, ISourceName targetObject, object identifier, string method, object parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| TargetApp | targetApp | Remote app. |
| ISourceName | targetObject | Remote object. |
| object | identifier | Remote object ID. |
| string | method | Method to be executed in remote app. |
| object | parameters | Parameters to be included in method in remote app. |
Returns
| Type | Description |
|---|---|
| string |
WriteMessage(TargetApp, ISourceName, string, string)
Creates a message using a property.
Declaration
public static string WriteMessage(TargetApp targetApp, ISourceName targetObject, string identifier, string property)
Parameters
| Type | Name | Description |
|---|---|---|
| TargetApp | targetApp | Remote app. |
| ISourceName | targetObject | Remote object. |
| string | identifier | Remote object ID. |
| string | property | Property to be sent to remote object in remote app. |
Returns
| Type | Description |
|---|---|
| string |
WriteMessage(TargetApp, string, object, string, object)
Creates a message using a method and parameters.
Declaration
public static string WriteMessage(TargetApp targetApp, string targetObject, object identifier, string method, object parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| TargetApp | targetApp | Remote app. |
| string | targetObject | Remote object. |
| object | identifier | Remote object ID. |
| string | method | Method to be executed in remote app. |
| object | parameters | Parameters to be included in method in remote app. |
Returns
| Type | Description |
|---|---|
| string |