public void SendJson(JsonTypeSend type, String json) { connection.SendMessage(Newtonsoft.Json.JsonConvert.SerializeObject(new Dictionary <string, string> { { "type", "" + (int)type }, { "value", json } })); }
private void SendJson(JsonTypeSend type, String json) { account.SendJson(type, json); }