public GetImageEntriesResult GetImageEntries(GetImageEntriesRequest request)
        {
            Platform.CheckForNullReference(request, "request");
            if (request.Criteria == null)
            {
                request.Criteria = new ImageEntry();
            }

            if (request.Criteria.Image == null)
            {
                request.Criteria.Image = new ImageIdentifier();
            }

            return(new GetImageEntriesResult
            {
                ImageEntries = _studyRootQuery.ImageQuery(request.Criteria.Image)
                               .Select(identifier => new ImageEntry {
                    Image = identifier
                }).ToList()
            });
        }
Example #2
0
 public abstract GetImageEntriesResult GetImageEntries(GetImageEntriesRequest request);