Esempio n. 1
0
 public DirectResponse(DirectRequest request)
 {
     Action = request.Action;
     Method = request.Method;
     Tid    = request.Tid;
     Type   = request.Type;
 }
Esempio n. 2
0
 public DirectResponse(DirectRequest request, JToken result) : this(request)
 {
     Result = result;
 }
Esempio n. 3
0
 public DirectResponse(DirectRequest request, Exception e) : this(request)
 {
     Type    = "exception";
     Message = e.Message;
     Where   = e.ToString();
 }