/// <summary> /// Called when recieved Json /// </summary> protected virtual void OnRecievedJson(JObject obj) { if (RecievedJson != null) { RecievedJsonEventArgs e = new RecievedJsonEventArgs(); e.obj = obj; e.senderID = ID; RecievedJson(this, e); } }
private void Client_RecievedJson(object sender, RecievedJsonEventArgs e) { HandleData(e.obj, e.senderID); }