/// <summary> /// 系统消息事件 At 1.1.0 /// </summary> /// <param name="json"></param> /// <returns></returns> private Boolean Do_EventSysMsg(string json) { try { EventSysMsgArgs eventSysMsgArgs = JsonConvert.DeserializeObject <EventSysMsgArgs>(json); EventSysMsg?.Invoke(this, eventSysMsgArgs); return(true); } catch (Exception ex) { DebugMessage(ex.Message); DebugMessage(ex.StackTrace); return(false); } }
public string ToString(Newtonsoft.Json.Formatting formatting) { EventSysMsgArgs classData = this; return(JsonConvert.SerializeObject(classData, formatting)); }