Exemple #1
0
 /// <summary>
 /// 自增标识客户端
 /// </summary>
 /// <param name="client"></param>
 public Getter(IdentityClient <valueType, modelType> client)
 {
     this.client = client;
     try
     {
         keepCallback = client.getLog(onLog);
         if (keepCallback != null)
         {
             return;
         }
     }
     catch (Exception error)
     {
         client.log.Exception(error, null, LogLevel.Exception | LogLevel.AutoCSer);
     }
     this.error();
 }
 /// <summary>
 /// 自增标识客户端
 /// </summary>
 /// <param name="client"></param>
 public Getter(IdentityClient <valueType, modelType> client)
 {
     this.client = client;
     try
     {
         keepCallback = client.getLog(onLog);
         if (keepCallback != null)
         {
             return;
         }
     }
     catch (Exception error)
     {
         client.log.add(AutoCSer.Log.LogType.Error, error);
     }
     this.error();
 }