Esempio n. 1
0
 public void Send(DesignTimeMessage message)
 {
     lock (_writer)
     {
         _writer.Write(JsonConvert.SerializeObject(message));
     }
 }
Esempio n. 2
0
 public void Send(DesignTimeMessage message)
 {
     lock (_writer)
     {
         _writer.Write(JsonConvert.SerializeObject(message));
     }
 }
Esempio n. 3
0
 public void Send(DesignTimeMessage message)
 {
     lock (_writer)
     {
         var json = message.ToJsonString();
         _writer.Write(json);
     }
 }
Esempio n. 4
0
 public void Send(DesignTimeMessage message)
 {
     lock (_writer)
     {
         var json = message.ToJsonString();
         _writer.Write(json);
     }
 }
Esempio n. 5
0
 public void Send(DesignTimeMessage message)
 {
     lock (_writer)
     {
         var obj = new JObject();
         obj["ContextId"] = message.ContextId;
         obj["HostId"] = message.HostId;
         obj["MessageType"] = message.MessageType;
         obj["Payload"] = message.Payload;
         _writer.Write(obj.ToString(Formatting.None));
     }
 }
Esempio n. 6
0
 public void Send(DesignTimeMessage message)
 {
     lock (_writer)
     {
         var obj = new JObject();
         obj["ContextId"]   = message.ContextId;
         obj["HostId"]      = message.HostId;
         obj["MessageType"] = message.MessageType;
         obj["Payload"]     = message.Payload;
         _writer.Write(obj.ToString(Formatting.None));
     }
 }