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