Пример #1
0
 public BaseHttpActionResult(HttpStatusCode statusCode, MediaTypeResponse responose)
 {
     _statusCode = statusCode;
     _response   = responose;
 }
Пример #2
0
 public MediaTypeHttpActionResult(MediaTypeResponse mediaResponse) :
     base(HttpStatusCode.OK, mediaResponse)
 {
 }
Пример #3
0
 public MediaTypeHttpActionResult(HttpStatusCode statusCode, MediaTypeResponse mediaResponse) :
     base(statusCode, mediaResponse)
 {
 }
Пример #4
0
 public OneAppMediaContent(MediaTypeResponse response) : base(response.Data)
 {
     this.Headers.ContentType = new MediaTypeHeaderValue(response.ContentType);
 }