Ejemplo n.º 1
0
 public Command(string service, string method, bool callback, Dictionary <string, object> dic)
 {
     this.args       = dic == null ? null : Json.Serialize(dic);
     this.service    = service;
     this.method     = method;
     this.callback   = callback;
     this.callbackId = this.callback ? TDSUUID.UUID():null;
 }
Ejemplo n.º 2
0
 public Builder Callback(bool callback)
 {
     this.callback   = callback;
     this.callbackId = this.callback ? TDSUUID.UUID():null;
     return(this);
 }