Exemplo n.º 1
0
        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()
            });
        }
Exemplo n.º 2
0
 public abstract GetImageEntriesResult GetImageEntries(GetImageEntriesRequest request);