Пример #1
0
 public ServiceResponse(T response, EndpointStatus status)
 {
     Response = response;
     Headers  = new ServiceHeaders {
         Status = status
     };
 }
Пример #2
0
 public ServiceResponse(T result, HttpResponseMessage response)
 {
     Response = result;
     Headers  = new ServiceHeaders(response);
 }
Пример #3
0
 public ServiceResponse(T response, ServiceHeaders headers)
 {
     Response = response;
     Headers  = headers;
 }
Пример #4
0
 public ServiceResponse(T response)
 {
     Response = response;
     Headers  = new ServiceHeaders();
 }