Exemplo n.º 1
0
 public ServiceResponse(T response, EndpointStatus status)
 {
     Response = response;
     Headers  = new ServiceHeaders {
         Status = status
     };
 }
Exemplo n.º 2
0
 public ServiceResponse(T result, HttpResponseMessage response)
 {
     Response = result;
     Headers  = new ServiceHeaders(response);
 }
Exemplo n.º 3
0
 public ServiceResponse(T response, ServiceHeaders headers)
 {
     Response = response;
     Headers  = headers;
 }
Exemplo n.º 4
0
 public ServiceResponse(T response)
 {
     Response = response;
     Headers  = new ServiceHeaders();
 }