public HttpResponseMessage GetFrames ( [ModelBinder(typeof(RsFrameRequestModelBinder))] IWadoRSFramesRequest request ) { return(WadoService.RetrieveFrames(request)); }
public HttpResponseMessage RetrieveFrames(IWadoRSFramesRequest request) { List <IWadoRsResponse> wadoResponses = new List <IWadoRsResponse> ( ); string mimeType = null; foreach (int frame in request.Frames) { request.Frame = frame; wadoResponses.AddRange(CreateRetrieveInstanceResponse(request, request, out mimeType)); } return(ResponseService.CreateWadoRsResponse(request, wadoResponses, mimeType)); }
private void FillIFramesParams(IValueProvider valueProvider, IWadoRSFramesRequest result) { FillInstanceParams(valueProvider, result); result.Frames = ParseFrames(valueProvider.GetValue("FrameList").RawValue as string); }
public virtual HttpResponseMessage RetrieveBulkData(IWadoRSFramesRequest request) { //TODO: validation accept header is not dicom... return(RetrieveMultipartInstance(request, request)); }
public virtual HttpResponseMessage RetrieveFrames(IWadoRSFramesRequest request) { return(RetrieveMultipartInstance(request, request)); }