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()
            });
        }
示例#2
0
 public abstract GetImageEntriesResult GetImageEntries(GetImageEntriesRequest request);