Inheritance: QueryRequest
        public virtual ImageQueryResponse ImageQuery(ImageQueryRequest request)
        {
            var response = new ImageQueryResponse();
            var result   = Query <ImageIdentifier, StudyRootFindScu>(request.Criteria, request, response);

            response.Results = (List <ImageIdentifier>)result;
            return(response);
        }
Example #2
0
        public IList <ImageIdentifier> ImageQuery(ImageIdentifier queryCriteria)
        {
            var request = new ImageQueryRequest
            {
                Criteria = queryCriteria,
                LocalApplicationEntity  = _localAE,
                RemoteApplicationEntity = new ApplicationEntity(_remoteAE)
            };

            var query  = new DicomStudyRootQueryApplication();
            var result = query.ImageQuery(request);

            return(result.Results);
        }
		public IList<ImageIdentifier> ImageQuery(ImageIdentifier queryCriteria)
		{
			var request = new ImageQueryRequest
			{
				Criteria = queryCriteria,
				LocalApplicationEntity = _localAE,
				RemoteApplicationEntity = new ApplicationEntity(_remoteAE)
			};

			var query = new DicomStudyRootQueryApplication();
			var result = query.ImageQuery(request);
			return result.Results;
		}