Esempio n. 1
0
 /// <summary>
 /// 收到转账事件
 /// 2018.12.13
 /// </summary>
 /// <param name="json"></param>
 /// <returns></returns>
 private Boolean Do_EventAcceptAccounts(string json)
 {
     try
     {
         EventAcceptAccountsArgs eventAcceptAccountsArgs = JsonConvert.DeserializeObject <EventAcceptAccountsArgs>(json);
         EventAcceptAccounts?.Invoke(this, eventAcceptAccountsArgs);
         return(true);
     }
     catch (Exception ex)
     {
         DebugMessage(ex.Message);
         DebugMessage(ex.StackTrace);
         return(false);
     }
 }
Esempio n. 2
0
        public string ToString(Newtonsoft.Json.Formatting formatting)
        {
            EventAcceptAccountsArgs classData = this;

            return(JsonConvert.SerializeObject(classData, formatting));
        }